nix/hosts/laptop/default.nix

51 lines
1.3 KiB
Nix
Raw Normal View History

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
../../modules/system/utils/common.nix
2024-03-26 19:30:12 +01:00
../../modules/system/utils/docker.nix
2024-05-28 14:19:16 +02:00
# ../../modules/system/utils/fprint.nix
2024-03-12 17:31:56 +01:00
../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix
2024-06-02 12:13:15 +02:00
../../modules/system/utils/printing.nix
2024-03-12 17:31:56 +01:00
];
2024-03-23 09:32:03 +01:00
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://nix-community.cachix.org"
];
};
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-06-06 09:09:50 +02:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2024-06-02 12:10:28 +02:00
system.stateVersion = "24.05";
2024-03-09 17:18:36 +01:00
}