-
Notifications
You must be signed in to change notification settings - Fork 1
/
nixos.nix
94 lines (91 loc) · 2.16 KB
/
nixos.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
87
88
89
90
91
92
93
94
name:
{
user,
inputs,
system,
stylix,
nixpkgs,
ghostty,
zjstatus,
overlays,
catppuccin,
determinate,
home-manager,
}:
nixpkgs.lib.nixosSystem rec {
inherit system;
# NixOS System level modules
modules = [
determinate.nixosModules.default
{ nixpkgs.overlays = overlays; }
./orbstack/configuration.nix
./orbstack/orbstack.nix
./modules/1password.nix
./modules/tailscale.nix
./modules/nixpkgs.nix
./modules/openssh.nix
./modules/xserver.nix
./modules/users.nix
./modules/fonts.nix
./modules/nix.nix
#
# home-manager
#
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.o = {
imports = [
{ home.stateVersion = "23.11"; }
./home-modules/tmux
./home-modules/kitty
./home-modules/helix
./home-modules/zellij
./home-modules/ghostty
./home-modules/bat.nix
./home-modules/git.nix
./home-modules/home.nix
./home-modules/fonts.nix
./home-modules/direnv.nix
./home-modules/shells/bash
./home-modules/shells/fish
./home-modules/lazygit.nix
./home-modules/keybase.nix
./home-modules/packages.nix
./home-modules/starship.nix
./home-modules/fastfetch.nix
./home-modules/shells/nushell
./home-modules/github-cli.nix
];
};
# Arguments exposed to each home-module
extraSpecialArgs = {
currentSystem = system;
currentSystemName = name;
pkgs = import inputs.nixpkgs {
inherit system;
allowBroken = true;
config.allowUnfree = true;
};
inherit
inputs
ghostty
zjstatus
overlays
catppuccin
;
};
};
}
# Arguments exposed to each module
{
config._module.args = {
currentSystem = system;
currentSystemName = name;
inherit ghostty;
};
}
];
}