summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2024-12-29 23:15:56 -0500
committerKleidi Bujari <mail@4kb.net>2024-12-29 23:15:56 -0500
commit833b5e89afa2073919508cc73534a92dd26fc97e (patch)
treec458397db62e5405db1b947cf8cedcd5b0a3eaee /flake.nix
parentb847b87823dfd7e1b7870c67ea32199bc607f852 (diff)
downloaddepot-833b5e89afa2073919508cc73534a92dd26fc97e.tar.gz
depot-833b5e89afa2073919508cc73534a92dd26fc97e.tar.bz2
depot-833b5e89afa2073919508cc73534a92dd26fc97e.zip
Extend browser config and setup automatic snapshots
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 14 insertions, 1 deletions
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);