]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/carotte.nix
mermet: knot: use builtins.path
[sourcephile-nix.git] / hosts / carotte.nix
1 # NixOS configuration of carotte.sourcephile.fr
2 { inputs, hostName, lib, ... }:
3 {
4 nixpkgs.buildPlatform = {
5 system = "x86_64-linux";
6 config = "x86_64-unknown-linux-gnu";
7 };
8 nixpkgs.hostPlatform = {
9 system = "armv7l-linux";
10 config = "armv7l-unknown-linux-gnueabihf";
11 };
12 imports = [
13 {
14 install.substituteOnDestination = false;
15 }
16 #(inputs.julm-nix + "/nixos/profiles/builder.nix")
17 "${inputs.julm-nix}/nixos/profiles/lang-fr.nix"
18 "${inputs.julm-nix}/nixos/profiles/networking/remote.nix"
19 "${inputs.julm-nix}/nixos/profiles/dnscrypt-proxy2.nix"
20 #../nixos/profiles/systems/debug.nix
21 #carotte/fileSystems.nix
22
23 carotte/hardware.nix
24 #carotte/hostapd.nix
25 carotte/nebula.nix
26 carotte/nftables.nix
27 carotte/networking.nix
28 carotte/security.nix
29 carotte/system.nix
30 carotte/users.nix
31 #(inputs.secrets + "/hosts/${hostName}/users.nix")
32 carotte/xserver.nix
33 ];
34 }