nix/hosts/desktop/default.nix

67 lines
1.8 KiB
Nix

{ 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/noisetorch.nix
../../modules/system/desktop/nvidia.nix
# ../../modules/system/programs/syncthing.nix
# ../../modules/system/programs/thunar.nix
# ../../modules/system/programs/steam.nix
# ../../modules/system/utils/common.nix
# ../../modules/system/utils/docker.nix
# ../../modules/system/utils/firewall.nix
#../../modules/system/utils/fprint.nix
../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix
# ../../modules/system/utils/printing.nix
../../modules/system/programs/sunshine.nix
];
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub = {
# enable = true;
# efiSupport = true;
# device = "nodev";
# };
boot.loader.systemd-boot.enable = true;
networking.networkmanager.enable = true;
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" "fuse" ];
};
services.displayManager.autoLogin = {
enable = true;
user = "xeovalyte";
};
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
system.stateVersion = "24.05";
}