aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-30 20:46:26 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-03-30 20:46:26 +0200
commit67e324107e05f3245ddac034607afd0e1dea478f (patch)
treed14a4b6e98fc707c72e24f0879b0e4297aaad78f /hosts
parent2316eab54de77c351e88c5657eeaaa703ff4c498 (diff)
Refactored the entire configuration
Diffstat (limited to 'hosts')
-rw-r--r--hosts/herra/configuration.nix28
-rwxr-xr-xhosts/kronos/configuration.nix15
2 files changed, 7 insertions, 36 deletions
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";
}