Added configuration for desktop

This commit is contained in:
2024-03-12 21:24:29 +01:00
parent 4fdc520c13
commit 7ab4886e90
9 changed files with 219 additions and 2 deletions

42
hosts/desktop/default.nix Normal file
View File

@@ -0,0 +1,42 @@
{ config, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
#../../modules/system/desktop/hyprland.nix
../../modules/system/desktop/plasma.nix
../../modules/system/desktop/nvidia.nix
../../modules/system/programs/sunshine.nix
#../../modules/system/programs/syncthing.nix
../../modules/system/programs/thunar.nix
../../modules/system/utils/common.nix
../../modules/system/utils/firewall.nix
../../modules/system/utils/fprint.nix
../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub = {
enable = true;
efiSupport = true;
device = "nodev";
};
networking.hostName = "xv-desktop"; # Define your hostname.
networking.interfaces.enp7s0.wakeOnLan.enable = true;
users.users.xeovalyte = {
isNormalUser = true;
description = "Timo Boomers";
extraGroups = [ "networkmanager" "wheel" "dialout" ];
};
services.printing.enable = true;
system.stateVersion = "23.11";
}