1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/systems/tahina/configuration.nix

81 lines
1.6 KiB
Nix
Raw Normal View History

2022-03-16 16:04:22 +01:00
{
config,
lib,
2022-03-16 16:04:22 +01:00
pkgs,
...
}: {
2022-03-16 16:04:22 +01:00
imports = [
./hardware-configuration.nix
../../configs/spacetime.nix
../../configs/sshd.nix
../../configs/retiolum.nix
../../configs/nix.nix
../../configs/admin-essentials.nix
2022-03-16 16:04:22 +01:00
];
age.secrets = {
2023-02-28 16:45:20 +01:00
retiolum-rsa = {
file = ../../secrets/tahina-retiolum-privateKey-rsa.age;
2023-02-28 16:45:20 +01:00
mode = "400";
2024-06-03 07:27:01 +02:00
owner = "tinc-retiolum";
group = "tinc-retiolum";
2023-02-28 16:45:20 +01:00
};
retiolum-ed25519 = {
file = ../../secrets/tahina-retiolum-privateKey-ed25519.age;
2023-02-28 16:45:20 +01:00
mode = "400";
2024-06-03 07:27:01 +02:00
owner = "tinc-retiolum";
group = "tinc-retiolum";
2023-02-28 16:45:20 +01:00
};
};
2022-03-29 09:54:56 +02:00
2024-07-10 10:39:45 +02:00
console.keyMap = "de";
i18n.defaultLocale = "de_DE.UTF-8";
2025-12-28 12:05:59 +01:00
services.libinput.enable = true;
services.xserver.xkb.layout = "de";
2022-03-29 00:21:16 +02:00
2024-07-10 10:39:45 +02:00
users.users.xenos = {
name = "xenos";
password = "xenos";
isNormalUser = true;
extraGroups = ["networkmanager"];
2022-03-29 00:21:16 +02:00
};
2025-12-28 12:05:59 +01:00
services.desktopManager.pantheon.enable = true;
services.displayManager.autoLogin = {
enable = true;
user = "xenos";
};
2024-07-10 10:39:45 +02:00
services.xserver = {
enable = true;
displayManager = {
lightdm = {
enable = true;
greeters.pantheon.enable = true;
};
};
};
boot.plymouth.enable = true;
environment.systemPackages = [
pkgs.libreoffice
pkgs.gimp
pkgs.inkscape
pkgs.firefox
pkgs.audacity
pkgs.pidgin
pkgs.git
];
2022-03-16 16:04:22 +01:00
networking = {
2022-03-29 00:21:16 +02:00
useDHCP = false;
interfaces = {
enp0s25.useDHCP = true;
wlo1.useDHCP = true;
};
retiolum = pkgs.lib.niveum.retiolumAddresses.tahina;
2022-03-29 00:21:16 +02:00
hostName = "tahina";
2022-03-16 16:04:22 +01:00
};
2022-03-29 00:21:16 +02:00
system.stateVersion = "21.11";
2022-03-16 16:04:22 +01:00
}