nixos-config/hosts/theseus/configuration.nix
2024-04-22 04:57:27 +02:00

61 lines
1.4 KiB
Nix

{
pkgs,
lib,
...
}: {
imports = [
./hardware-configuration.nix
../../common/default.nix
../../common/full-install.nix
../../common/allow-unfree.nix
../../common/locales/en.nix
../../common/locales/en-keymap.nix
../../common/hardware/intelcpu.nix
../../common/hardware/nvidiagpu.nix
../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix
../../common/de/plasma6.nix
../../common/de/hyprland.nix
../../common/tasia-packages.nix
../../common/packages/syncthing.nix
../../common/packages/adguardhome.nix
../../common/packages/steam.nix
../../common/packages/sshd.nix
];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
};
networking = {
hostName = "theseus";
};
users.users.user = {
isNormalUser = true;
description = "User";
extraGroups = ["networkmanager" "wheel" "syncthing"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
"SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw tasia@new-new-phoenix"
];
};
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";
}