-
Notifications
You must be signed in to change notification settings - Fork 0
/
profiles.nix
86 lines (84 loc) · 2.05 KB
/
profiles.nix
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{ self
, nixpkgs
, lib
,
}:
rec {
stateVersion = "24.11";
liam =
let
username = "liam.jarvis";
in
{
inherit username;
commonSpecialArgs = {
inherit username nixpkgs;
};
modules = [ ./modules/nix.nix ];
home-manager = {
enable = true;
inherit username;
modules = [
./home-manager/default.nix
./home-manager/packages.nix
./home-manager/modules/git.nix
./home-manager/modules/zsh.nix
./home-manager/modules/bat.nix
./home-manager/modules/fzf.nix
./home-manager/modules/tmux.nix
./home-manager/modules/wezterm.nix
./home-manager/modules/nvim
];
extraConfig = {
home.stateVersion = stateVersion;
};
};
extraConfig = {
nixpkgs.overlays = [ self.overlays.default ];
};
};
liam-linux =
let
username = "liam";
in
liam
// {
inherit username;
modules = [
./modules/linux/network.nix
./modules/linux/window.nix
] ++ liam.modules;
home-manager = liam.home-manager // {
inherit username;
enable = true;
modules = [
./home-manager/modules/linux/x.nix
./home-manager/modules/firefox
./home-manager/modules/linux/poly.nix
] ++ liam.home-manager.modules;
};
commonSpecialArgs = liam.commonSpecialArgs // {
inherit username;
flakePath = "/home/liam.jarvis/nix_dot";
};
extraConfig = liam.extraConfig // {
system.stateVersion = stateVersion;
};
};
liam-work = liam // {
username = "liam.jarvis";
modules = [
./modules/darwin
./modules/darwin/yabai
./modules/darwin/skhd
] ++ liam.modules;
home-manager = liam.home-manager // {
modules = liam.home-manager.modules;
};
commonSpecialArgs = liam.commonSpecialArgs // {
username = "liam.jarvis";
flakePath = "/Users/liam.jarvis/nix_dot";
};
extraConfig = liam.extraConfig;
};
}