nixos-config/hosts/theseus/configuration.nix
2024-04-22 20:48:35 +02:00

59 lines
1.3 KiB
Nix

{
pkgs,
lib,
...
}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
imports = [
./hardware-configuration.nix
../../common/base.nix
../../common/full-install.nix
../../common/allow-unfree.nix
../../common/locales/en.nix
../../common/locales/en-keymap.nix
../../common/hardware/intel-cpu.nix
../../common/hardware/nvidia-gpu.nix
../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix
../../common/hardware/latest-kernel.nix
../../common/de/plasma6.nix
# ../../common/de/hyprland.nix
../../common/services/syncthing.nix
../../common/services/adguardhome.nix
../../common/programs/steam.nix
];
networking = {
hostName = "theseus";
};
users.users.user = {
isNormalUser = true;
description = "User";
extraGroups = ["networkmanager" "wheel" "syncthing"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
sshKeys.new-new-phoenix.tasia
];
};
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
services.syncthing = {
dataDir = lib.mkForce "/home/user/Sync/Phone/";
configDir = lib.mkForce "/home/user/sync/configuration/";
};
environment.systemPackages = with pkgs; [
#
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
}