nixos-config/hosts/stuff/configuration.nix
2024-05-24 12:57:53 +02:00

47 lines
1,014 B
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
];
services.syncthing = {
dataDir = lib.mkForce "/home/user/Sync/data";
configDir = lib.mkForce "/home/user/Sync/configuration";
};
environment.systemPackages = with pkgs; [
# Additional system packages here
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}