61 lines
1.3 KiB
Nix
61 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/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";
|
|
};
|
|
|
|
security.pam.services.kwallet = {
|
|
name = "kwallet";
|
|
enableKwallet = true;
|
|
};
|
|
|
|
services.printing.drivers = [ pkgs.cnijfilter2 ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# Additional system packages here
|
|
zoxide
|
|
telegram-desktop
|
|
];
|
|
|
|
services.displayManager.autoLogin.user = "user";
|
|
services.displayManager.autoLogin.enable = true;
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "23.11";
|
|
}
|