summaryrefslogtreecommitdiff
path: root/hosts/herra/configuration.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-22 18:20:09 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-22 18:20:09 +0100
commitaaa31cf08870c28d83da6a57a6c29bf52a4ab74e (patch)
treed8ae4e1ae8b0253b74f2a3026c73950c139283d2 /hosts/herra/configuration.nix
parent6b217ae5d0eb4458e957a843190cabab4d3f34a8 (diff)
Made some adjustments to allow for multiple configurations to exist under the flake
Diffstat (limited to 'hosts/herra/configuration.nix')
-rw-r--r--hosts/herra/configuration.nix30
1 files changed, 30 insertions, 0 deletions
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
+}