this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 114 lines 2.5 kB view raw
1{ 2 delib, 3 inputs, 4 pkgs, 5 ... 6}: 7delib.module { 8 name = "nix"; 9 10 # TODO: double check home-manager options 11 home.always = { 12 nixpkgs.config = import ../files/nixpkgs-config.nix; 13 xdg.configFile."nixpkgs/config.nix".source = ../files/nixpkgs-config.nix; 14 }; 15 16 nixos.always = { 17 nixpkgs.config = import ../files/nixpkgs-config.nix; 18 nixpkgs.overlays = [ 19 (final: prev: { 20 inherit 21 (prev.lixPackageSets.stable) 22 nixpkgs-review 23 nix-eval-jobs 24 nix-fast-build 25 colmena 26 ; 27 }) 28 ]; 29 30 nix = { 31 package = pkgs.lixPackageSets.stable.lix; 32 33 gc = { 34 automatic = true; 35 options = "--delete-older-than 10d"; 36 dates = "weekly"; 37 }; 38 39 nixPath = ["nixpkgs=${inputs.nixpkgs}"]; 40 41 registry.nixpkgs.to = { 42 type = "path"; 43 path = inputs.nixpkgs; 44 narHash = inputs.nixpkgs.narHash; 45 }; 46 47 settings = { 48 auto-optimise-store = true; 49 experimental-features = ["nix-command" "flakes"]; 50 trusted-users = ["root" "@wheel" "ovy"]; 51 warn-dirty = false; 52 }; 53 }; 54 55 system.tools.nixos-option.enable = false; 56 programs.nix-ld.enable = true; 57 }; 58 59 darwin.always = { 60 nixpkgs.config = import ../files/nixpkgs-config.nix; 61 nixpkgs.overlays = [ 62 (final: prev: { 63 inherit 64 (prev.lixPackageSets.stable) 65 nixpkgs-review 66 nix-eval-jobs 67 nix-fast-build 68 colmena 69 ; 70 }) 71 ]; 72 73 nix = { 74 package = pkgs.lixPackageSets.stable.lix; 75 76 buildMachines = [ 77 { 78 hostName = "nightline.axolotl-map.ts.net"; 79 sshUser = "colmena-deploy"; 80 system = "x86_64-linux"; 81 speedFactor = 16; 82 maxJobs = 6; 83 protocol = "ssh-ng"; 84 } 85 { 86 hostName = "skyline.axolotl-map.ts.net"; 87 sshUser = "colmena-deploy"; 88 system = "aarch64-linux"; 89 speedFactor = 1; 90 maxJobs = 2; 91 protocol = "ssh-ng"; 92 } 93 ]; 94 95 distributedBuilds = true; 96 97 gc = { 98 automatic = true; 99 options = "--delete-older-than 7d"; 100 interval.Weekday = 6; 101 }; 102 103 optimise.automatic = true; 104 105 settings = { 106 builders-use-substitutes = true; 107 experimental-features = "nix-command flakes"; 108 trusted-users = ["root" "ovy"]; 109 sandbox = true; 110 warn-dirty = false; 111 }; 112 }; 113 }; 114}