64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
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; [
|
|
obsidian
|
|
libsForQt5.kdenlive
|
|
komikku
|
|
blender
|
|
inkscape
|
|
];
|
|
|
|
services.flatpak = {
|
|
enable = true;
|
|
update.onActivation = true;
|
|
packages = [
|
|
"com.heroicgameslauncher.hgl"
|
|
"com.github.tchx84.Flatseal"
|
|
"com.obsproject.Studio"
|
|
"com.usebottles.bottles"
|
|
"it.mijorus.gearlever"
|
|
"com.google.AndroidStudio"
|
|
];
|
|
};
|
|
|
|
}
|