nix-config/hosts/desktop1/configuration.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

42 lines
739 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
}
'';
}