From eb95abfc230dc239122f1e89e90cd9a998491a2f Mon Sep 17 00:00:00 2001 From: adikro Date: Tue, 3 Feb 2026 22:58:50 +0100 Subject: ... --- flake.nix | 78 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 38 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 80c33a8..ee9cc2f 100644 --- a/flake.nix +++ b/flake.nix @@ -63,45 +63,47 @@ }; }; - outputs = - { self, nixpkgs, ... }@inputs: - let - mkHost = - { - hostname, - path, - user ? "adam", - }: - nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - username = user; - }; - modules = [ - path - { networking.hostName = hostname; } - ]; - }; - in - { - nixosConfigurations = { - szpont = mkHost { - hostname = "szpont"; - path = ./hosts/desktop/configuration.nix; - }; - laptop = mkHost { - hostname = "laptop"; - path = ./hosts/laptop/configuration.nix; - }; - thinkpad = mkHost { - hostname = "thinkpad"; - path = ./hosts/thinkpad/configuration.nix; - }; - pendrive = mkHost { - hostname = "pendrive"; - path = ./hosts/pendrive/configuration.nix; - user = "user"; + outputs = { + self, + nixpkgs, + nur, + ... + } @ inputs: let + mkHost = { + hostname, + path, + user ? "adam", + }: + nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + username = user; }; + modules = [ + path + {networking.hostName = hostname;} + {nixpkgs.overlays = [nur.overlays.default];} + ]; + }; + in { + nixosConfigurations = { + szpont = mkHost { + hostname = "szpont"; + path = ./hosts/desktop/configuration.nix; + }; + laptop = mkHost { + hostname = "laptop"; + path = ./hosts/laptop/configuration.nix; + }; + thinkpad = mkHost { + hostname = "thinkpad"; + path = ./hosts/thinkpad/configuration.nix; + }; + pendrive = mkHost { + hostname = "pendrive"; + path = ./hosts/pendrive/configuration.nix; + user = "user"; }; }; + }; } -- cgit v1.3