2024-03-09 17:18:36 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2024-03-12 17:31:56 +01:00
|
|
|
imports = [ # Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
2024-03-12 21:38:05 +01:00
|
|
|
../../modules/system/desktop/amd.nix
|
2024-03-12 17:31:56 +01:00
|
|
|
../../modules/system/desktop/hyprland.nix
|
2024-03-14 22:46:49 +01:00
|
|
|
../../modules/system/desktop/bluetooth.nix
|
2024-03-23 09:32:03 +01:00
|
|
|
../../modules/system/programs/steam.nix
|
2024-03-12 17:31:56 +01:00
|
|
|
../../modules/system/programs/syncthing.nix
|
|
|
|
../../modules/system/programs/thunar.nix
|
2024-03-14 14:06:39 +01:00
|
|
|
../../modules/system/programs/virtualization.nix
|
2024-03-12 17:31:56 +01:00
|
|
|
../../modules/system/utils/common.nix
|
2024-03-26 19:30:12 +01:00
|
|
|
../../modules/system/utils/docker.nix
|
2024-03-12 17:31:56 +01:00
|
|
|
../../modules/system/utils/fprint.nix
|
|
|
|
../../modules/system/utils/garbage-collection.nix
|
|
|
|
../../modules/system/utils/locale.nix
|
|
|
|
];
|
|
|
|
|
2024-03-23 09:32:03 +01:00
|
|
|
nix.settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
2024-03-23 10:12:06 +01:00
|
|
|
# "https://cache.nixos.org/"
|
2024-03-23 09:32:03 +01:00
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
2024-03-23 10:12:06 +01:00
|
|
|
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
# "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
2024-03-23 09:32:03 +01:00
|
|
|
];
|
|
|
|
};
|
2024-03-12 17:31:56 +01:00
|
|
|
|
2024-03-09 17:18:36 +01:00
|
|
|
# Bootloader.
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-03-12 17:31:56 +01:00
|
|
|
boot.loader.grub = {
|
2024-03-09 17:18:36 +01:00
|
|
|
enable = true;
|
2024-03-12 17:31:56 +01:00
|
|
|
efiSupport = true;
|
|
|
|
device = "nodev";
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-03-12 17:31:56 +01:00
|
|
|
networking.hostName = "xv-laptop"; # Define your hostname.
|
2024-03-09 17:18:36 +01:00
|
|
|
|
|
|
|
users.users.xeovalyte = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Timo Boomers";
|
2024-03-12 17:31:56 +01:00
|
|
|
extraGroups = [ "networkmanager" "wheel" "dialout" ];
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-03-12 17:31:56 +01:00
|
|
|
services.printing.enable = true;
|
2024-03-09 17:18:36 +01:00
|
|
|
|
2024-03-12 17:31:56 +01:00
|
|
|
system.stateVersion = "23.11";
|
2024-03-09 17:18:36 +01:00
|
|
|
|
|
|
|
}
|