NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

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

chore: some bts work in there [skip ci]

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+45 -4
+29 -1
flake.nix
··· 146 146 recoverykit-amd64 = nixpkgs.lib.nixosSystem { 147 147 system = "x86_64-linux"; 148 148 modules = [ 149 + ( 150 + { ... }: 151 + { 152 + _module.args = { inherit self nix4vscode; }; 153 + } 154 + ) 149 155 # nix flake modules first 150 156 nix-ld.nixosModules.nix-ld 151 157 determinate.nixosModules.default ··· 157 163 ./hosts/recoverykit/configuration.nix 158 164 "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" 159 165 ]; 166 + 167 + specialArgs = { 168 + inherit zen-browser nix4vscode self; 169 + }; 160 170 }; 161 171 162 172 portable-amd64-256gb = nixpkgs.lib.nixosSystem { 163 173 system = "x86_64-linux"; 164 174 modules = [ 175 + ( 176 + { ... }: 177 + { 178 + _module.args = { inherit self nix4vscode; }; 179 + } 180 + ) 165 181 # nix flake modules first 166 182 nix-ld.nixosModules.nix-ld 167 183 determinate.nixosModules.default ··· 181 197 lairland = nixpkgs.lib.nixosSystem { 182 198 system = "x86_64-linux"; 183 199 modules = [ 200 + ( 201 + { ... }: 202 + { 203 + _module.args = { inherit self nix4vscode; }; 204 + } 205 + ) 184 206 # nix flake modules first 185 207 nix-ld.nixosModules.nix-ld 186 208 determinate.nixosModules.default ··· 202 224 # otherwise, it fails to build with some missing dependencies 203 225 system = "x86_64-linux"; 204 226 modules = [ 227 + ( 228 + { ... }: 229 + { 230 + _module.args = { inherit self nix4vscode; }; 231 + } 232 + ) 205 233 ./shared/meta.nix 206 234 ./hosts/stellapent-cier/configuration.nix 207 235 ]; 208 236 specialArgs = { 209 - inherit zen-browser self; 237 + inherit zen-browser nix4vscode self; 210 238 }; 211 239 }; 212 240 };
+7 -1
hosts/recoverykit/configuration.nix
··· 1 1 # This NixOS configuration is for the custom recovery/installation media 2 2 # using the minimal image here, probably built on GitHub Actions. 3 3 4 - { lib, nixpkgs, ... }: 4 + { 5 + lib, 6 + nixpkgs, 7 + self, 8 + nix4vscode, 9 + ... 10 + }: 5 11 6 12 { 7 13 imports = [
+9 -2
shared/nix.nix
··· 1 1 # This is the meta config file for nixpkgs and nix cli itself, including 2 2 # trusted keys for cachix caches and stateVersion for NixOS. 3 3 4 - { config, pkgs, lib, self, nix4vscode, ... }: 4 + { 5 + config, 6 + pkgs, 7 + lib, 8 + self, 9 + nix4vscode, 10 + ... 11 + }: 5 12 6 13 { 7 14 # Adopted from https://fnordig.de/til/nix/home-manager-allow-unfree.html, ··· 21 28 nix = { 22 29 gc = { 23 30 automatic = true; 24 - dates = ["weekly"]; 31 + dates = [ "weekly" ]; 25 32 randomizedDelaySec = "30min"; 26 33 }; 27 34 settings = {