nixos-config/hosts/theseus/configuration.nix

61 lines
1.4 KiB
Nix
Raw Normal View History

2024-04-11 13:16:26 +02:00
{
pkgs,
lib,
...
}: {
imports = [
./hardware-configuration.nix
../../common/default.nix
2024-04-17 20:39:12 +02:00
../../common/full-install.nix
../../common/allow-unfree.nix
2024-04-11 13:16:26 +02:00
../../common/locales/en.nix
2024-04-11 17:08:50 +02:00
../../common/locales/en-keymap.nix
2024-04-11 13:16:26 +02:00
../../common/hardware/intelcpu.nix
2024-04-11 17:08:50 +02:00
../../common/hardware/nvidiagpu.nix
2024-04-17 22:28:27 +02:00
../../common/hardware/ssd.nix
2024-04-22 04:57:27 +02:00
../../common/hardware/btrfs.nix
2024-04-11 13:16:26 +02:00
../../common/de/plasma6.nix
../../common/de/hyprland.nix
2024-04-22 04:57:27 +02:00
../../common/tasia-packages.nix
2024-04-11 17:08:50 +02:00
../../common/packages/syncthing.nix
../../common/packages/adguardhome.nix
2024-04-22 04:57:27 +02:00
../../common/packages/steam.nix
../../common/packages/sshd.nix
2024-04-11 13:16:26 +02:00
];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
};
networking = {
2024-04-18 21:10:13 +02:00
hostName = "theseus";
2024-04-11 13:16:26 +02:00
};
users.users.user = {
isNormalUser = true;
description = "User";
2024-04-17 20:39:12 +02:00
extraGroups = ["networkmanager" "wheel" "syncthing"];
2024-04-11 13:16:26 +02:00
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
2024-04-22 04:57:27 +02:00
"SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw tasia@new-new-phoenix"
2024-04-11 13:16:26 +02:00
];
};
2024-04-22 04:57:27 +02:00
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
2024-04-11 13:16:26 +02:00
2024-04-11 17:08:50 +02:00
services.syncthing = {
dataDir = lib.mkForce "/home/user/Sync/Phone/";
configDir = lib.mkForce "/home/user/sync/configuration/";
};
2024-04-11 13:16:26 +02:00
environment.systemPackages = with pkgs; [
2024-04-17 22:28:27 +02:00
#
2024-04-11 13:16:26 +02:00
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
}