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

75 lines
1.3 KiB
Nix
Raw Normal View History

2022-11-25 09:16:02 +01:00
{
config,
lib,
2022-11-25 09:16:02 +01:00
pkgs,
...
2025-12-28 12:05:59 +01:00
}:
{
2022-11-25 09:16:02 +01:00
imports = [
./hardware-configuration.nix
../../configs/spacetime.nix
../../configs/retiolum.nix
../../configs/sshd.nix
2022-11-25 09:16:02 +01:00
];
age.secrets = {
2023-02-28 16:45:20 +01:00
retiolum-rsa = {
file = ../../secrets/tabula-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/tabula-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-11-25 09:16:02 +01:00
2025-12-28 12:05:59 +01:00
services.libinput.enable = true;
2022-11-25 09:16:02 +01:00
users.users.xenos = {
name = "xenos";
password = "xenos";
isNormalUser = true;
2025-12-28 12:05:59 +01:00
extraGroups = [ "networkmanager" ];
};
services.displayManager = {
autoLogin = {
enable = true;
user = "xenos";
};
2022-11-25 09:16:02 +01:00
};
services.xserver = {
enable = true;
2022-11-25 11:27:43 +01:00
desktopManager.lxqt.enable = true;
2022-11-25 09:16:02 +01:00
};
environment.systemPackages = [
pkgs.libreoffice
pkgs.gimp
pkgs.inkscape
pkgs.firefox
pkgs.pidgin
2022-11-25 11:27:43 +01:00
pkgs.git
pkgs.vim
2022-11-25 09:16:02 +01:00
];
networking = {
useDHCP = false;
interfaces = {
2022-11-25 11:27:43 +01:00
enp0s4.useDHCP = true;
wlp2s0.useDHCP = true;
2022-11-25 09:16:02 +01:00
};
retiolum = pkgs.lib.niveum.retiolumAddresses.tabula;
2022-11-25 09:16:02 +01:00
hostName = "tabula";
};
2022-11-25 11:27:43 +01:00
networking.networkmanager.enable = true;
2022-11-25 09:16:02 +01:00
system.stateVersion = "21.11";
}