nix/hosts/ti-clt-dsk01/default.nix

80 lines
1.9 KiB
Nix
Raw Normal View History

2024-12-28 16:59:34 +01:00
{ pkgs, ... }:
2024-03-12 21:24:29 +01:00
{
2024-12-28 16:59:34 +01:00
imports = [
# Include the results of the hardware scan.
2024-03-12 21:24:29 +01:00
./hardware-configuration.nix
2024-06-20 13:41:57 +02:00
2024-12-28 16:59:34 +01:00
# Import modules
../../modules/system/default.nix
2024-03-12 21:24:29 +01:00
];
2024-12-28 16:59:34 +01:00
settings = {
display-manager = "cosmic-greeter";
desktop-environments = {
cosmic.enable = true;
hyprland.enable = false;
gnome.enable = false;
};
applications = {
common.enable = true;
steam.enable = true;
thunar.enable = false;
};
services = {
2025-01-13 16:53:57 +01:00
docker.enable = true;
2024-12-28 16:59:34 +01:00
quickemu.enable = false;
sunshine.enable = false;
garbage-collection.enable = true;
};
hardware = {
fprint.enable = false;
printing.enable = true;
bluetooth.enable = false;
firewall.enable = true;
locale.enable = true;
2024-12-28 17:04:36 +01:00
nvidia.enable = true;
2024-12-28 16:59:34 +01:00
};
};
2024-03-23 09:32:03 +01:00
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://nix-community.cachix.org"
2024-12-28 16:59:34 +01:00
"https://cosmic.cachix.org/"
2024-03-23 09:32:03 +01:00
];
2024-12-28 16:59:34 +01:00
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
2024-03-12 21:24:29 +01:00
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
2024-08-09 11:02:11 +02:00
boot.loader.grub = {
enable = true;
efiSupport = true;
device = "nodev";
};
2024-03-12 21:24:29 +01:00
2024-12-28 16:59:34 +01:00
# Networking configuration
2025-01-10 13:55:26 +01:00
networking.hostName = "ti-clt-dsk01"; # Define your hostname.
2024-03-12 21:24:29 +01:00
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
};
2025-01-03 11:09:05 +01:00
networking.hosts = {
2025-01-09 15:59:10 +01:00
"192.168.100.118" = [ "timo.bmrs.nl" "www.timo.bmrs.nl" "homeassistant.timo.bmrs.nl" "adguard.timo.bmrs.nl" "git.timo.bmrs.nl" "auth.timo.bmrs.nl" "ldap.timo.bmrs.nl" "dozzle.timo.bmrs.nl" "home.timo.bmrs.nl" "immich.timo.bmrs.nl" "paperless.timo.bmrs.nl" "search.timo.bmrs.nl" ];
2025-01-03 11:09:05 +01:00
};
2024-11-30 18:30:01 +01:00
services.openssh.enable = true;
2024-03-16 20:45:29 +01:00
2024-06-02 12:10:28 +02:00
system.stateVersion = "24.05";
2024-03-12 21:24:29 +01:00
}