nix/hosts/desktop/default.nix

59 lines
1.5 KiB
Nix
Raw Normal View History

2024-03-12 21:24:29 +01:00
{ config, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
2024-03-14 21:36:28 +01:00
../../modules/system/desktop/hyprland.nix
2024-05-18 11:27:09 +02:00
../../modules/system/desktop/noisetorch.nix
2024-03-12 21:24:29 +01:00
../../modules/system/desktop/nvidia.nix
2024-03-16 20:45:29 +01:00
../../modules/system/programs/syncthing.nix
2024-03-12 21:24:29 +01:00
../../modules/system/programs/thunar.nix
2024-03-17 10:00:27 +01:00
../../modules/system/programs/steam.nix
2024-03-12 21:24:29 +01:00
../../modules/system/utils/common.nix
2024-03-20 07:44:38 +01:00
../../modules/system/utils/docker.nix
2024-03-12 21:24:29 +01:00
../../modules/system/utils/firewall.nix
2024-03-14 21:36:28 +01:00
#../../modules/system/utils/fprint.nix
2024-03-12 21:24:29 +01:00
../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix
2024-04-04 12:37:57 +02:00
../../modules/system/utils/printing.nix
2024-03-12 21:24:29 +01:00
];
2024-03-23 09:32:03 +01:00
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="
];
};
2024-03-12 21:24:29 +01:00
# 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";
2024-05-21 10:58:33 +02:00
extraGroups = [ "networkmanager" "wheel" "dialout" "fuse" ];
2024-03-12 21:24:29 +01:00
};
services.printing.enable = true;
2024-03-16 20:45:29 +01:00
# Keyboard
hardware.ckb-next.enable = true;
2024-06-02 12:10:28 +02:00
system.stateVersion = "24.05";
2024-03-12 21:24:29 +01:00
}