nix-config/hosts/desktop1/configuration.nix
smayzy a5f666c221
All checks were successful
nix flake show / show-flake (push) Successful in 1m5s
clean hosts dir & update
2025-07-23 18:39:39 +02:00

43 lines
749 B
Nix

{ inputs, config, ... }:
{
imports =
[
../common/common.nix
./hardware-configuration.nix
];
networking.hostName = "desktop1";
smayzy = {
desktop.enable = true;
nvidia.enable = true;
virt.enable = true;
hyprland.enable = true;
kde.enable = true;
};
home-manager = {
extraSpecialArgs = {
inherit inputs;
smayzy = config.smayzy;
};
users = {
smayzy = import ./home.nix;
};
backupFileExtension = "backup";
};
system.stateVersion = "24.11";
boot.loader.grub.extraEntries = ''
menuentry "Archlinux" {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 07CA-4966
chainloader /EFI/BOOT/BOOTX64.EFI
}
'';
}