diff --git a/configs/default.nix b/configs/default.nix index 6f8642a..91934cb 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -222,7 +222,6 @@ in { { networking.hosts = { "192.168.178.1" = [ "fritz.box" ]; - "192.168.178.24" = [ "catullus.local" ]; }; } { i18n.defaultLocale = "en_GB.UTF-8"; } diff --git a/configs/ssh.nix b/configs/ssh.nix index 67b1ff0..9961e21 100644 --- a/configs/ssh.nix +++ b/configs/ssh.nix @@ -47,7 +47,7 @@ in { user = "kfm"; port = sshPort; }; - catullus = { + toum = { hostname = "catullus.r"; user = "kfm"; port = sshPort; diff --git a/systems/catullus/configuration.nix b/systems/toum/configuration.nix similarity index 91% rename from systems/catullus/configuration.nix rename to systems/toum/configuration.nix index e365851..0bc663f 100644 --- a/systems/catullus/configuration.nix +++ b/systems/toum/configuration.nix @@ -37,6 +37,15 @@ in { }; } { services.keybase.enable = true; } + { + sound.enable = true; + hardware.pulseaudio.enable = true; + + boot.loader.raspberryPi.firmwareConfig = '' + dtparam=audio=on + ''; + } + { boot.kernelParams = [ "console=ttyS1,115200n8" ]; } # Enable serial console { imports = [ ]; @@ -59,7 +68,7 @@ in { boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; - networking.hostName = "catullus"; + networking.hostName = "toum"; time.timeZone = "Europe/Berlin"; @@ -74,7 +83,11 @@ in { environment.variables.TERM = "linux"; environment.variables.HTOPRC = toString ; - environment.systemPackages = with pkgs; [ git vim htop wget reptyr ]; + environment.systemPackages = with pkgs; [ + git vim htop wget reptyr + + raspberrypi-tools + ]; users.mutableUsers = false; users.users.me = { @@ -112,5 +125,5 @@ in { mode = "400"; }; - system.stateVersion = "18.09"; + system.stateVersion = "20.03"; } diff --git a/systems/catullus/hardware-configuration.nix b/systems/toum/hardware-configuration.nix similarity index 100% rename from systems/catullus/hardware-configuration.nix rename to systems/toum/hardware-configuration.nix diff --git a/systems/catullus/telegram-bots/autorenkalender.nix b/systems/toum/telegram-bots/autorenkalender.nix similarity index 100% rename from systems/catullus/telegram-bots/autorenkalender.nix rename to systems/toum/telegram-bots/autorenkalender.nix diff --git a/systems/catullus/telegram-bots/default.nix b/systems/toum/telegram-bots/default.nix similarity index 100% rename from systems/catullus/telegram-bots/default.nix rename to systems/toum/telegram-bots/default.nix diff --git a/systems/catullus/telegram-bots/literature-quote.nix b/systems/toum/telegram-bots/literature-quote.nix similarity index 100% rename from systems/catullus/telegram-bots/literature-quote.nix rename to systems/toum/telegram-bots/literature-quote.nix diff --git a/systems/catullus/telegram-bots/nachtischsatan.nix b/systems/toum/telegram-bots/nachtischsatan.nix similarity index 100% rename from systems/catullus/telegram-bots/nachtischsatan.nix rename to systems/toum/telegram-bots/nachtischsatan.nix diff --git a/systems/catullus/telegram-bots/proverb.nix b/systems/toum/telegram-bots/proverb.nix similarity index 100% rename from systems/catullus/telegram-bots/proverb.nix rename to systems/toum/telegram-bots/proverb.nix