blob: 44e19414d3acceb767119ff0f691e85ac8d46d05 (
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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
{
description = "scouckel config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify.url = "github:Gerg-L/spicetify-nix";
auto-cpufreq = {
url = "github:AdnanHodzic/auto-cpufreq";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nvf = {
url = "github:NotAShelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
nordvpn-flake.url = "github:scouckel/nordvpn-flake";
mango = {
url = "github:DreamMaoMao/mango";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, nix-flatpak, nur, auto-cpufreq, nixos-hardware, nordvpn-flake, ... }@inputs: {
nixosConfigurations = {
# desktop
vecna = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/vecna/configuration.nix
./modules/nixos
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jck = {
imports = [
./hosts/vecna/home.nix
./modules/home-manager
inputs.nvf.homeManagerModules.default
inputs.mango.hmModules.mango
];
};
home-manager.extraSpecialArgs = {inherit inputs;};
}
nur.modules.nixos.default
nordvpn-flake.nixosModules.nordvpn-flake
];
};
# laptop
xanathar = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/xanathar/configuration.nix
./modules/nixos
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jck = {
imports = [
./hosts/xanathar/home.nix
./modules/home-manager
inputs.nvf.homeManagerModules.default
];
};
home-manager.extraSpecialArgs = {inherit inputs;};
}
nur.modules.nixos.default
auto-cpufreq.nixosModules.default
nordvpn-flake.nixosModules.nordvpn-flake
];
};
# new laptop
tiamat = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/tiamat/configuration.nix
./modules/nixos
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jck = {
imports = [
./hosts/tiamat/home.nix
./modules/home-manager
inputs.nvf.homeManagerModules.default
];
};
home-manager.extraSpecialArgs = {inherit inputs;};
}
nur.modules.nixos.default
auto-cpufreq.nixosModules.default
nixos-hardware.nixosModules.framework-13-7040-amd
nordvpn-flake.nixosModules.nordvpn-flake
];
};
generic = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/generic/configuration.nix
/etc/nixos/hardware-configuration.nix
./modules/nixos
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jck = {
imports = [
./hosts/generic/home.nix
./modules/home-manager
inputs.nvf.homeManagerModules.default
];
};
home-manager.extraSpecialArgs = {inherit inputs;};
}
nur.modules.nixos.default
nordvpn-flake.nixosModules.nordvpn-flake
];
};
shar = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/shar/configuration.nix
./hosts/shar/hardware-configuration.nix
];
};
};
};
}
|