nixos-configuration/hosts/vinzenz-lpt2/default.nix

61 lines
1.4 KiB
Nix
Raw Permalink Normal View History

2024-10-26 17:30:11 +02:00
{
nixpkgs,
common-modules,
desktop-modules,
...
}:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules =
common-modules
++ desktop-modules
++ [
./hardware.nix
2024-10-26 18:15:50 +02:00
./nginx.nix
2024-10-26 17:30:11 +02:00
../../home/gnome.nix
../../users/vinzenz.nix
../../modules/gnome.nix
../../modules/gaming.nix
../../modules/printing.nix
2024-10-26 18:15:50 +02:00
../../modules/podman.nix
2024-10-26 17:30:11 +02:00
{
2025-01-05 17:46:32 +01:00
networking = {
hostName = "vinzenz-lpt2";
networkmanager.enable = true;
};
nix.settings.extra-platforms = [
"aarch64-linux"
"i686-linux"
];
2025-01-02 01:14:41 +01:00
services.xserver.xkb = {
# Configure keymap in X11
layout = "de";
variant = "";
};
# Configure console keymap
console.keyMap = "de";
2024-10-26 17:30:11 +02:00
}
{
home-manager.users.vinzenz = import ../../home/vinzenz;
users.users.vinzenz.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming''
];
#users.users.ronja.openssh.authorizedKeys.keys = [
# ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ronja-ssh-host-key''
#];
}
2024-12-14 11:06:37 +01:00
{
programs.adb.enable = true;
}
2024-10-26 17:30:11 +02:00
];
}