diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-05 01:22:47 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-05 01:22:47 +0200 |
commit | bafc142db9257a34220da00c543d2b17e948b230 (patch) | |
tree | 949e2404e11d745412431ff53faf695faa036b79 /sys/nix/default.nix | |
parent | theming: change theme to tokyo-night-dark (diff) | |
download | nix-config-bafc142db9257a34220da00c543d2b17e948b230.tar.gz nix-config-bafc142db9257a34220da00c543d2b17e948b230.zip |
nix: init module
Diffstat (limited to 'sys/nix/default.nix')
-rw-r--r-- | sys/nix/default.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/sys/nix/default.nix b/sys/nix/default.nix deleted file mode 100644 index 71dab10..0000000 --- a/sys/nix/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - self, - config, - nixpkgs, - ... -}: { - nix = { - registry = { - nixpkgs.flake = nixpkgs; - n.flake = nixpkgs; - self.flake = self; - s.flake = self; - }; - channel.enable = false; - distributedBuilds = true; - buildMachines = [ - { - hostName = "server1.vhack.eu"; - protocol = "ssh-ng"; - system = "x86_64-linux"; - supportedFeatures = ["big-parallel"]; - } - ]; - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 3"; - }; - settings = { - auto-optimise-store = true; - experimental-features = ["nix-command" "flakes"]; - substituters = [ - "https://cache.garnix.io" - "https://hyprland.cachix.org" - ]; - trusted-public-keys = [ - "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" - "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" - ]; - }; - }; - home-manager.users.root.home = { - username = "root"; - homeDirectory = "/root"; - stateVersion = "23.05"; - file.".ssh/config" = { - text = '' - Host server1.vhack.eu - IdentitiesOnly yes - IdentityFIle ${config.age.secrets.nixremote.path} - User nixremote - ''; - }; - }; -} |