blob: 61153d3d6b2feddafd032b6153da46fa87052ac8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
pkgs,
lib,
config,
inputs,
...
}: {
imports = [
inputs.home-manager.nixosModules."home-manager"
];
config = {
home-manager.users.tzlil = {pkgs, ...}@hm: {
home = {
packages = with pkgs; [
rsync
curl
ripgrep
];
};
programs = {
ssh.enable = true;
git = {
userName = "tzlil";
userEmail = "tzlils@protonmail.com";
enable = true;
};
fish = {
enable = true;
shellAliases = {
gc = "git clone";
l = "ls -alh";
};
functions = {
sb.body = "nixos-rebuild build --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
sw.body = "nixos-rebuild switch --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
};
};
};
};
};
}
|