nixos-config/hosts/stuff/configuration.nix

61 lines
1.3 KiB
Nix
Raw Normal View History

2024-05-17 17:54:52 +02:00
{
pkgs,
lib,
...
}: let
2024-04-22 05:51:31 +02:00
sshKeys = import ../../crypto/ssh-keys.nix;
2024-04-22 06:39:13 +02:00
in {
2024-04-08 20:32:17 +02:00
imports = [
./hardware-configuration.nix
2024-04-22 20:48:35 +02:00
../../common/base.nix
2024-05-01 12:28:33 +02:00
../../common/full-install.nix
2024-04-08 20:32:17 +02:00
../../common/locales/fr.nix
../../common/locales/fr-keymap.nix
2024-04-22 06:39:13 +02:00
2024-04-22 05:51:31 +02:00
../../common/hardware/intel-cpu.nix
2024-04-22 04:57:27 +02:00
../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix
2024-04-08 20:32:17 +02:00
2024-05-01 11:29:17 +02:00
../../common/components/de/plasma5.nix
2024-04-08 20:32:17 +02:00
2024-05-24 12:57:53 +02:00
../../common/services/autoupgrade.nix
2024-04-22 20:48:35 +02:00
../../common/services/syncthing.nix
2024-05-17 16:07:34 +02:00
../../common/services/nix-gc.nix
2024-04-23 17:29:48 +02:00
../../home/46d1/home.nix
2024-04-08 20:32:17 +02:00
];
2024-04-22 05:51:31 +02:00
networking.hostName = "stuff";
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-08 20:32:17 +02:00
2024-06-07 15:00:10 +02:00
nix.settings.trusted-users = ["root" "@wheel"]; # TODO
2024-05-17 17:53:46 +02:00
services.syncthing = {
dataDir = lib.mkForce "/home/user/Sync/data";
configDir = lib.mkForce "/home/user/Sync/configuration";
};
2024-06-07 18:06:59 +02:00
security.pam.services.kwallet = {
name = "kwallet";
enableKwallet = true;
};
2024-08-06 18:44:43 +02:00
services.printing.drivers = [pkgs.cnijfilter2];
2024-07-31 16:26:45 +02:00
2024-04-08 20:32:17 +02:00
environment.systemPackages = with pkgs; [
# Additional system packages here
2024-06-07 18:06:59 +02:00
zoxide
2024-06-10 20:58:02 +02:00
telegram-desktop
2024-04-08 20:32:17 +02:00
];
2024-06-07 14:57:57 +02:00
services.displayManager.autoLogin.user = "user";
services.displayManager.autoLogin.enable = true;
2024-04-08 20:32:17 +02:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}