mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: init tabula
This commit is contained in:
1
ci.nix
1
ci.nix
@@ -64,6 +64,7 @@
|
|||||||
kabsa = ensureFiles basic;
|
kabsa = ensureFiles basic;
|
||||||
manakish = ensureFiles basic;
|
manakish = ensureFiles basic;
|
||||||
tahina = ensureFiles basic;
|
tahina = ensureFiles basic;
|
||||||
|
tabula = ensureFiles basic;
|
||||||
ful = ensureFiles (["root.password"] ++ basic);
|
ful = ensureFiles (["root.password"] ++ basic);
|
||||||
makanek = ensureFiles ([
|
makanek = ensureFiles ([
|
||||||
"irc/retiolum"
|
"irc/retiolum"
|
||||||
|
|||||||
@@ -175,6 +175,7 @@
|
|||||||
zaatar = ["traadfri"];
|
zaatar = ["traadfri"];
|
||||||
ful = [];
|
ful = [];
|
||||||
tahina = [];
|
tahina = [];
|
||||||
|
tabula = [];
|
||||||
kabsa = ["traadfri" "nixos-unstable" "home-manager" "menstruation-backend" "recht"];
|
kabsa = ["traadfri" "nixos-unstable" "home-manager" "menstruation-backend" "recht"];
|
||||||
manakish = ["traadfri" "nixos-unstable" "home-manager" "menstruation-backend" "recht"];
|
manakish = ["traadfri" "nixos-unstable" "home-manager" "menstruation-backend" "recht"];
|
||||||
makanek = ["nixos-unstable" "menstruation-telegram" "menstruation-backend" "scripts" "telebots" "tinc-graph"];
|
makanek = ["nixos-unstable" "menstruation-telegram" "menstruation-backend" "scripts" "telebots" "tinc-graph"];
|
||||||
|
|||||||
@@ -23,7 +23,10 @@
|
|||||||
ipv4 = "10.243.2.85";
|
ipv4 = "10.243.2.85";
|
||||||
ipv6 = "42:0:3c46:ac99:ae36:cb8:c551:ba27";
|
ipv6 = "42:0:3c46:ac99:ae36:cb8:c551:ba27";
|
||||||
};
|
};
|
||||||
|
tabula = {
|
||||||
|
ipv4 = "10.243.2.78";
|
||||||
|
ipv6 = "";
|
||||||
|
};
|
||||||
tahina = {
|
tahina = {
|
||||||
ipv4 = "10.243.2.74";
|
ipv4 = "10.243.2.74";
|
||||||
ipv6 = "42:0:3c46:2923:1c90:872:edd6:306";
|
ipv6 = "42:0:3c46:2923:1c90:872:edd6:306";
|
||||||
|
|||||||
66
systems/tabula/configuration.nix
Normal file
66
systems/tabula/configuration.nix
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (import <niveum/lib>) retiolumAddresses;
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
<niveum/configs/spacetime.nix>
|
||||||
|
<niveum/modules/retiolum.nix>
|
||||||
|
<niveum/configs/sshd.nix>
|
||||||
|
];
|
||||||
|
|
||||||
|
nix.nixPath = ["/var/src"];
|
||||||
|
|
||||||
|
console.keyMap = "en";
|
||||||
|
i18n.defaultLocale = "de_DE.UTF-8";
|
||||||
|
services.xserver = {
|
||||||
|
layout = "en";
|
||||||
|
libinput.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.xenos = {
|
||||||
|
name = "xenos";
|
||||||
|
password = "xenos";
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ["networkmanager"];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
desktopManager.pantheon.enable = true;
|
||||||
|
displayManager = {
|
||||||
|
lightdm = {
|
||||||
|
enable = true;
|
||||||
|
greeters.pantheon.enable = true;
|
||||||
|
};
|
||||||
|
autoLogin = {
|
||||||
|
enable = true;
|
||||||
|
user = "xenos";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
boot.plymouth.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.libreoffice
|
||||||
|
pkgs.gimp
|
||||||
|
pkgs.inkscape
|
||||||
|
pkgs.firefox
|
||||||
|
pkgs.pidgin
|
||||||
|
];
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
useDHCP = false;
|
||||||
|
interfaces = {
|
||||||
|
enp0s25.useDHCP = true;
|
||||||
|
wlo1.useDHCP = true;
|
||||||
|
};
|
||||||
|
retiolum = retiolumAddresses.tabula;
|
||||||
|
hostName = "tabula";
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "21.11";
|
||||||
|
}
|
||||||
36
systems/tabula/hardware-configuration.nix
Normal file
36
systems/tabula/hardware-configuration.nix
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
loader.grub = {
|
||||||
|
enable = true;
|
||||||
|
version = 2;
|
||||||
|
device = "/dev/sda";
|
||||||
|
};
|
||||||
|
initrd = {
|
||||||
|
availableKernelModules = ["pata_sis" "ohci_pci" "ehci_pci" "sata_sis" "usb_storage" "sd_mod" "sr_mod"];
|
||||||
|
kernelModules = [];
|
||||||
|
};
|
||||||
|
kernelModules = [];
|
||||||
|
extraModulePackages = [];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/6fe3c127-068f-4b71-9cac-5fea66f66dc8";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{device = "/dev/disk/by-uuid/874256aa-5bae-44a4-8933-c65f8600fe78";}
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user