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

79 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2022-11-25 09:16:02 +01:00
{
config,
pkgs,
...
}: let
inherit (import ../../lib) retiolumAddresses;
2022-11-25 09:16:02 +01:00
in {
imports = [
./hardware-configuration.nix
../../configs/spacetime.nix
../../configs/retiolum.nix
../../configs/sshd.nix
../../configs/nix.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;
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
retiolum-ed25519 = {
file = ../../secrets/tabula-retiolum-privateKey-ed25519.age;
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
};
2022-11-25 09:16:02 +01:00
services.xserver = {
libinput.enable = true;
};
users.users.xenos = {
name = "xenos";
password = "xenos";
isNormalUser = true;
extraGroups = ["networkmanager"];
};
services.xserver = {
enable = true;
2022-11-25 11:27:43 +01:00
desktopManager.lxqt.enable = true;
2022-11-25 09:16:02 +01:00
displayManager = {
autoLogin = {
enable = true;
user = "xenos";
};
};
};
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 = retiolumAddresses.tabula;
hostName = "tabula";
};
2022-11-25 11:27:43 +01:00
sound.enable = true;
hardware.pulseaudio.enable = true;
networking.networkmanager.enable = true;
2022-11-25 09:16:02 +01:00
system.stateVersion = "21.11";
}