63 lines
1.4 KiB
Nix
63 lines
1.4 KiB
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
inputs,
|
||
|
...
|
||
|
}: 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/plasma6.nix
|
||
|
|
||
|
../../common/services/autoupgrade.nix
|
||
|
../../common/services/syncthing.nix
|
||
|
../../common/services/nix-gc.nix
|
||
|
|
||
|
../../home/46d1.nix
|
||
|
|
||
|
inputs.agenix.nixosModules.default
|
||
|
../../common/components/wifi-secrets.nix
|
||
|
];
|
||
|
|
||
|
networking.hostName = "ways";
|
||
|
|
||
|
users.users.user.openssh.authorizedKeys.keys = [
|
||
|
sshKeys.tasia.cave
|
||
|
];
|
||
|
|
||
|
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
|
||
|
];
|
||
|
|
||
|
services.displayManager.autoLogin.user = "user";
|
||
|
services.displayManager.autoLogin.enable = true;
|
||
|
|
||
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||
|
system.stateVersion = "23.11";
|
||
|
}
|