From 833b5e89afa2073919508cc73534a92dd26fc97e Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Sun, 29 Dec 2024 23:15:56 -0500 Subject: Extend browser config and setup automatic snapshots --- flake.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index ca20bf3..598ba0e 100644 --- a/flake.nix +++ b/flake.nix @@ -77,7 +77,20 @@ value = nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs depot; }; - modules = [ ./machines/${name} self.nixosModules.xnet ]; + modules = [ + # Machine's specific configuration + ./machines/${name} + + # Implicitly import xnet + self.nixosModules.xnet + + # Global module + ({ inputs, ... }: { + + # Set system nixpkgs to flake input + nix.registry.nixpkgs.flake = inputs.nixpkgs; + }) + ]; }; }) machines); -- cgit v1.3.1