nixos-config/hosts/stuff/configuration.nix
2024-06-07 15:00:10 +02:00

52 lines
1.1 KiB
Nix

{
pkgs,
lib,
...
}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
imports = [
./hardware-configuration.nix
../../common/base.nix
../../common/full-install.nix
../../common/locales/fr.nix
../../common/locales/fr-keymap.nix
../../common/hardware/intel-cpu.nix
../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix
../../common/components/de/plasma5.nix
../../common/services/autoupgrade.nix
../../common/services/syncthing.nix
../../common/services/nix-gc.nix
../../home/46d1/home.nix
];
networking.hostName = "stuff";
users.users.user.openssh.authorizedKeys.keys = [
sshKeys.tasia.yaseen
];
nix.settings.trusted-users = ["root" "@wheel"]; # TODO
services.syncthing = {
dataDir = lib.mkForce "/home/user/Sync/data";
configDir = lib.mkForce "/home/user/Sync/configuration";
};
environment.systemPackages = with pkgs; [
# Additional system packages here
];
services.displayManager.autoLogin.user = "user";
services.displayManager.autoLogin.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}