summaryrefslogtreecommitdiff
path: root/hosts/herra/configuration.nix
diff options
context:
space:
mode:
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
+}