From aaa31cf08870c28d83da6a57a6c29bf52a4ab74e Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 22 Mar 2026 18:20:09 +0100 Subject: Made some adjustments to allow for multiple configurations to exist under the flake --- hosts/herra/configuration.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 hosts/herra/configuration.nix (limited to 'hosts/herra') diff --git a/hosts/herra/configuration.nix b/hosts/herra/configuration.nix new file mode 100644 index 0000000..35542a8 --- /dev/null +++ b/hosts/herra/configuration.nix @@ -0,0 +1,30 @@ +# hosts/desktop/configuration.nix +{ + config, + lib, + pkgs, + ... +}: { + imports = [ + ./hardware-configuration.nix + ../../modules/nixos/base/default.nix + + # === Environment Choice === + ../../modules/nixos/des/i3wm.nix + #../../modules/nixos/des/gnome.nix + ]; + + # Override boot for GRUB dual boot with Windows + boot.loader = { + efi.canTouchEfiVariables = true; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + useOSProber = true; # auto-detects Windows 11 + }; + }; + + # Desktop-specific hostname + networking.hostName = "herra"; # or whatever you want +} -- cgit v1.2.3