nixos-config/hosts/theseus/configuration.nix

55 lines
1.2 KiB
Nix
Raw Normal View History

2024-04-11 13:16:26 +02:00
{
pkgs,
lib,
...
2024-04-22 06:39:13 +02:00
}: let
2024-04-22 05:51:31 +02:00
sshKeys = import ../../crypto/ssh-keys.nix;
in {
2024-04-11 13:16:26 +02:00
imports = [
./hardware-configuration.nix
2024-04-22 20:48:35 +02:00
../../common/base.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-22 06:39:13 +02:00
2024-04-22 05:51:31 +02:00
../../common/hardware/intel-cpu.nix
../../common/hardware/nvidia-gpu.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-22 05:51:31 +02:00
../../common/hardware/latest-kernel.nix
2024-04-11 13:16:26 +02:00
2024-05-30 20:34:42 +02:00
../../common/components/de/plasma6.nix
# ../../common/components/de/hyprland.nix
2024-04-11 13:16:26 +02:00
2024-04-22 20:48:35 +02:00
../../common/services/syncthing.nix
../../common/services/adguardhome.nix
../../common/programs/steam.nix
2024-04-23 17:29:48 +02:00
../../home/tasia-but-old-username/home.nix
2024-04-11 13:16:26 +02:00
];
networking = {
2024-04-18 21:10:13 +02:00
hostName = "theseus";
2024-04-11 13:16:26 +02:00
};
2024-04-23 17:29:48 +02:00
users.users.user.openssh.authorizedKeys.keys = [
2024-04-29 14:31:33 +02:00
sshKeys.tasia.yaseen
2024-04-23 17:29:48 +02:00
];
2024-04-11 13:16:26 +02:00
2024-05-30 20:34:42 +02:00
services.btrfs.autoScrub.fileSystems = lib.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";
}