diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-22 20:58:46 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-22 20:58:46 -0400 |
commit | fcd428ba73f1d2180d443083db346f7c1130f8f8 (patch) | |
tree | 5fd3511262abfdc961a4c102cb216e80f2a8dfd4 /system/default.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-fcd428ba73f1d2180d443083db346f7c1130f8f8.tar.gz dotfiles-nix-fcd428ba73f1d2180d443083db346f7c1130f8f8.tar.bz2 dotfiles-nix-fcd428ba73f1d2180d443083db346f7c1130f8f8.zip |
refactor config out of modules/options.nix
Diffstat (limited to '')
-rw-r--r-- | system/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/default.nix b/system/default.nix index f12cf70..2d043c7 100644 --- a/system/default.nix +++ b/system/default.nix @@ -14,6 +14,18 @@ ./sshd.nix ]; + # allow flakes + nix.settings.experimental-features = ["nix-command" "flakes"]; + + # allow unfree packages + nixpkgs.config.allowUnfree = true; + + # set state version + system.stateVersion = config.stateVersion; + + # enable nixos-rebuild-ng + system.rebuild.enableNg = true; + # hostname networking.hostName = config.hostName; |