-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
141 lines (138 loc) · 4.37 KB
/
flake.nix
File metadata and controls
141 lines (138 loc) · 4.37 KB
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
{
description = "Pocket nixos flake";
inputs = {
# Main inputs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
master.url = "github:nixos/nixpkgs/nixos-unstable";
minecraft.url = "github:Infinidoge/nix-minecraft";
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
freesm.url = "github:freesmteam/freesmlauncher/sequoia-1.4.4";
agenix.url = "github:ryantm/agenix";
old.url = "github:NixOS/nixpkgs/nixos-25.05";
aagl.url = "github:ezKEa/aagl-gtk-on-nix/release-25.11";
fmm.url = "github:ProggerX/fmm";
rust-overlay.url = "github:oxalica/rust-overlay";
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
pabc-nix = {
url = "github:ProggerX/pabc-nix/v3";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix.url = "github:danth/stylix/release-25.11";
deploy-rs.url = "github:serokell/deploy-rs";
winapps.url = "github:winapps-org/winapps";
iio-sway.url = "github:tbaumann/iio-sway";
vicinae.url = "github:vicinaehq/vicinae";
hexecute.url = "github:thatotherandrew/hexecute";
mangowc = {
url = "github:DreamMaoMao/mangowc";
inputs.nixpkgs.follows = "nixpkgs";
};
nvim.url = "github:nix-community/neovim-nightly-overlay";
# Server inputs
haskellpobeda.url = "github:ProggerX/haskellpobeda";
fish-text.url = "github:ProggerX/fish-text";
emanote = {
url = "github:srid/emanote";
inputs.nixpkgs.follows = "nixpkgs";
};
notie = {
url = "github:ProggerX/notie";
inputs.nixpkgs.follows = "nixpkgs";
};
notbalds.url = "github:NotBalds/nix";
firefox.url = "github:nix-community/flake-firefox-nightly";
};
outputs = {
nixpkgs,
determinate,
agenix,
...
} @ inputs: {
nixosConfigurations = {
snd-pc = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
{networking.interfaces."eno1".wakeOnLan.enable = true;}
{nix.nixPath = ["nixpkgs=${nixpkgs}"];}
./modules/base.nix
./modules/home.nix
./modules/aagl.nix
./modules/nvidia.nix
./hosts/pc/configuration.nix
./hosts/pc/hardware-configuration.nix
./modules/non-server.nix
agenix.nixosModules.default
./modules/secrets.nix
];
};
snd-lp = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
{nix.nixPath = ["nixpkgs=${nixpkgs}"];}
./modules/base.nix
./modules/home.nix
./hosts/laptop/configuration.nix
./hosts/laptop/hardware-configuration.nix
./modules/non-server.nix
agenix.nixosModules.default
];
};
snd-tp = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
{nix.nixPath = ["nixpkgs=${nixpkgs}"];}
./modules/base.nix
./modules/home.nix
./hosts/thinkpad/configuration.nix
./hosts/thinkpad/hardware-configuration.nix
./modules/non-server.nix
agenix.nixosModules.default
./modules/secrets.nix
];
};
server = nixpkgs.lib.nixosSystem rec {
system = "aarch64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
{nix.nixPath = ["nixpkgs=${nixpkgs}"];}
inputs.notie.nixosModules.notie
inputs.notbalds.nixosModules.cwe-server
agenix.nixosModules.default
./modules/secrets.nix
./modules/base.nix
./modules/server
./hosts/server/configuration.nix
./hosts/server/server.nix
];
};
};
deploy.nodes.server = {
hostname = "13.37.67.67";
profiles.system = {
user = "root";
sshUser = "root";
path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos inputs.self.nixosConfigurations.server;
};
};
nixosModules.wireguard = import ./modules/wireguard.nix;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
};
}