blob: 35542a8e0b89cffcf9c9a9ea932241c3aa309806 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|