this repo has no description
4
fork

Configure Feed

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

nixinated

+67 -36
+37 -20
flake.lock
··· 218 218 "type": "github" 219 219 } 220 220 }, 221 + "nixinate": { 222 + "inputs": { 223 + "nixpkgs": "nixpkgs" 224 + }, 225 + "locked": { 226 + "lastModified": 1654872030, 227 + "narHash": "sha256-a1e49vvdEapkG9tbC0WLEemLGXbMR6hEBeW22aGwueQ=", 228 + "owner": "matthewcroughan", 229 + "repo": "nixinate", 230 + "rev": "0f53b4f183fbde2ba2b50d3e7dd910b86ea179ed", 231 + "type": "github" 232 + }, 233 + "original": { 234 + "owner": "matthewcroughan", 235 + "repo": "nixinate", 236 + "type": "github" 237 + } 238 + }, 221 239 "nixos-hardware": { 222 240 "locked": { 223 241 "lastModified": 1656933710, ··· 250 268 }, 251 269 "nixpkgs": { 252 270 "locked": { 271 + "lastModified": 1653060744, 272 + "narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=", 273 + "owner": "nixos", 274 + "repo": "nixpkgs", 275 + "rev": "dfd82985c273aac6eced03625f454b334daae2e8", 276 + "type": "github" 277 + }, 278 + "original": { 279 + "owner": "nixos", 280 + "ref": "nixos-unstable", 281 + "repo": "nixpkgs", 282 + "type": "github" 283 + } 284 + }, 285 + "nixpkgs_2": { 286 + "locked": { 253 287 "lastModified": 1657447684, 254 288 "narHash": "sha256-FCP9AuU1q6PE3vOeM5SFf58f/UKPBAsoSGDUGamNBbo=", 255 289 "owner": "nixos", ··· 285 319 "helix": "helix", 286 320 "home": "home", 287 321 "hyprland": "hyprland", 322 + "nixinate": "nixinate", 288 323 "nixos-hardware": "nixos-hardware", 289 324 "nixos-persistence": "nixos-persistence", 290 - "nixpkgs": "nixpkgs", 291 - "nur": "nur", 292 - "smos": "smos" 325 + "nixpkgs": "nixpkgs_2", 326 + "nur": "nur" 293 327 } 294 328 }, 295 329 "rust-overlay": { ··· 311 345 "original": { 312 346 "owner": "oxalica", 313 347 "repo": "rust-overlay", 314 - "type": "github" 315 - } 316 - }, 317 - "smos": { 318 - "flake": false, 319 - "locked": { 320 - "lastModified": 1654691963, 321 - "narHash": "sha256-XY2esyEIZJr37aflbkn37a3wWBTAtl93a7pAHKfDH5E=", 322 - "owner": "yusdacra", 323 - "repo": "smos", 324 - "rev": "c11222bc1c836746dbaf1fdffea92509ce775faf", 325 - "type": "github" 326 - }, 327 - "original": { 328 - "owner": "yusdacra", 329 - "ref": "chore/fix-nix-flakes", 330 - "repo": "smos", 331 348 "type": "github" 332 349 } 333 350 },
+11 -7
flake.nix
··· 11 11 nixos-hardware.url = "github:nixos/nixos-hardware"; 12 12 nixos-persistence.url = "github:nix-community/impermanence"; 13 13 14 - smos.url = "github:yusdacra/smos/chore/fix-nix-flakes"; 15 - smos.flake = false; 14 + nixinate.url = "github:matthewcroughan/nixinate"; 16 15 17 16 helix.url = "github:helix-editor/helix"; 18 17 helix.inputs.nixpkgs.follows = "nixpkgs"; ··· 32 31 }; 33 32 genPkgs = f: prev.genSystems (system: f (makePkgs system)); 34 33 }); 34 + 35 35 allPkgs = tlib.genPkgs (x: x); 36 - in rec { 37 - nixosConfigurations = import ./hosts {inherit lib tlib inputs;}; 38 36 39 - packages = lib.mapAttrs (_: pkgs: pkgs._exported) allPkgs; 40 - apps = 37 + miscApps = 41 38 lib.mapAttrs 42 39 ( 43 40 _: pkgs: { 44 41 generate-firefox-addons = { 45 42 type = "app"; 46 - program = toString "${pkgs.generate-firefox-addons}/bin/generate-firefox-addons"; 43 + program = 44 + toString 45 + "${pkgs.generate-firefox-addons}/bin/generate-firefox-addons"; 47 46 }; 48 47 } 49 48 ) 50 49 allPkgs; 50 + in rec { 51 + nixosConfigurations = import ./hosts {inherit lib tlib inputs;}; 52 + 53 + packages = lib.mapAttrs (_: pkgs: pkgs._exported) allPkgs; 54 + apps = miscApps // (inputs.nixinate.nixinate.x86_64-linux inputs.self); 51 55 52 56 devShells = import ./shells {inherit lib tlib inputs;}; 53 57 };
+10 -2
hosts/wolumonde/default.nix
··· 1 - { inputs, ... }: { 1 + {inputs, ...}: { 2 2 imports = [ 3 3 ./hardware-configuration.nix 4 4 ]; ··· 14 14 users.users.root.openssh.authorizedKeys.keys = [ 15 15 (builtins.readFile "${inputs.self}/secrets/ssh-key.pub") 16 16 ]; 17 - } 17 + 18 + _module.args.nixinate = { 19 + host = builtins.readFile "${inputs.self}/secrets/wolumonde-ip"; 20 + sshUser = "root"; 21 + buildOn = "local"; # valid args are "local" or "remote" 22 + substituteOnTarget = true; # if buildOn is "local" then it will substitute on the target, "-s" 23 + hermetic = true; 24 + }; 25 + }
+9 -7
hosts/wolumonde/hardware-configuration.nix
··· 1 - { modulesPath, ... }: 2 - { 3 - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; 1 + {modulesPath, ...}: { 2 + imports = [(modulesPath + "/profiles/qemu-guest.nix")]; 4 3 boot.loader.grub.device = "/dev/sda"; 5 - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ]; 6 - boot.initrd.kernelModules = [ "nvme" ]; 7 - fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; 8 - } 4 + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"]; 5 + boot.initrd.kernelModules = ["nvme"]; 6 + fileSystems."/" = { 7 + device = "/dev/sda1"; 8 + fsType = "ext4"; 9 + }; 10 + }
secrets/wolumonde-ip

This is a binary file and will not be displayed.