From 67e324107e05f3245ddac034607afd0e1dea478f Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 30 Mar 2026 20:46:26 +0200 Subject: Refactored the entire configuration --- hosts/herra/configuration.nix | 28 ++++------------------------ hosts/kronos/configuration.nix | 15 +++------------ 2 files changed, 7 insertions(+), 36 deletions(-) (limited to 'hosts') diff --git a/hosts/herra/configuration.nix b/hosts/herra/configuration.nix index 35542a8..2e0dd75 100644 --- a/hosts/herra/configuration.nix +++ b/hosts/herra/configuration.nix @@ -1,30 +1,10 @@ -# 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 - }; - }; + networking.hostName = "herra"; - # Desktop-specific hostname - networking.hostName = "herra"; # or whatever you want + # Dual-boot with Windows 11 + boot.loader.grub.useOSProber = true; } diff --git a/hosts/kronos/configuration.nix b/hosts/kronos/configuration.nix index 79b637b..d032921 100755 --- a/hosts/kronos/configuration.nix +++ b/hosts/kronos/configuration.nix @@ -1,16 +1,7 @@ -{ - config, - lib, - pkgs, - ... -}: { +{...}: { imports = [ ./hardware-configuration.nix - ../../modules/nixos/base/default.nix - - # === Environment Choice === - # Uncomment one of the following to select your environment: - ../../modules/nixos/des/i3wm.nix - #../../modules/nixos/des/gnome.nix ]; + + networking.hostName = "kronos"; } -- cgit v1.2.3