45 lines
809 B
Nix
45 lines
809 B
Nix
{ inputs, config, pkgs, lib, ... }:
|
|
|
|
{
|
|
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
|
|
}
|
|
'';
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
];
|
|
}
|