summaryrefslogtreecommitdiff
path: root/sys/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/default.nix')
-rw-r--r--sys/default.nix14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/default.nix b/sys/default.nix
index ef60f43..f19bc0a 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -1,21 +1,17 @@
-{ self, impermanence }:
-{ lib, config, pkgs, modulesPath, ... }:
+{ lib, config, pkgs, ... }:
with lib; {
imports = [
- "${modulesPath}/installer/scan/not-detected.nix"
- impermanence.nixosModule
-
+ ../env
./auth.nix
./boot.nix
./fs
./net.nix
+ ./nspawn.nix
./options.nix
./users.nix
];
config = {
- nixpkgs.overlays = [ self.overlay ];
-
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
@@ -27,11 +23,11 @@ with lib; {
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
- experimental-features = nix-command flakes
+ experimental-features = nix-command flakes repl-flake
'';
};
- # shenvs necesita systemd 251
+ # hm-isolation necesita systemd 251
systemd = mkIf (config.system.nixos.release == "22.05") {
package = pkgs.unstable.systemd;
};