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
|
|
|
./vscode-server.nix
|
2024-10-26 17:30:11 +02:00
|
|
|
../../home/gnome.nix
|
|
|
|
../../users/vinzenz.nix
|
|
|
|
../../users/ronja.nix
|
|
|
|
../../modules/gnome.nix
|
|
|
|
../../modules/gaming.nix
|
|
|
|
../../modules/printing.nix
|
2024-10-26 18:15:50 +02:00
|
|
|
../../modules/podman.nix
|
2024-11-24 13:18:32 +01:00
|
|
|
{
|
2025-01-05 17:46:32 +01:00
|
|
|
networking = {
|
|
|
|
hostName = "vinzenz-pc2";
|
|
|
|
networkmanager.enable = true;
|
|
|
|
};
|
2024-11-24 13:18:32 +01:00
|
|
|
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-11-24 13:18:32 +01:00
|
|
|
}
|
2024-10-26 17:30:11 +02:00
|
|
|
{
|
|
|
|
home-manager.users = {
|
|
|
|
vinzenz = import ../../home/vinzenz;
|
2025-01-02 02:05:36 +01:00
|
|
|
ronja = import ../../home/ronja;
|
2024-10-26 17:30:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming''
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming''
|
|
|
|
];
|
|
|
|
|
|
|
|
users.users.ronja.openssh.authorizedKeys.keys = [
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2024-10-26 14:59:00 +02:00
|
|
|
}
|