diff --git a/configs/i3.nix b/configs/i3.nix index 1355c80..ff599c2 100644 --- a/configs/i3.nix +++ b/configs/i3.nix @@ -234,7 +234,7 @@ in { "${modifier}+p" = "exec rofi-pass"; "${modifier}+Shift+p" = "exec rofi-pass --insert"; "${modifier}+u" = "exec ${niveumPackages.unicodmenu}/bin/unicodmenu"; - "${modifier}+Shift+u" = "exec ${pkgs.writers.writeDash "last-unicode" ''${pkgs.xdotool}/bin/xdotool type "$(${pkgs.gawk}/bin/awk 'END{print $1}' ~/.cache/unicodmenu)"''}"; + "${modifier}+Shift+u" = "exec ${pkgs.writers.writeDash "last-unicode" ''${pkgs.xdotool}/bin/xdotool type --delay 1000 "$(${pkgs.gawk}/bin/awk 'END{print $1}' ~/.cache/unicodmenu)"''}"; "${modifier}+F7" = "exec ${pkgs.writers.writeDash "showkeys-toggle" '' if ${pkgs.procps}/bin/pgrep screenkey; then diff --git a/systems/tahina/configuration.nix b/systems/tahina/configuration.nix index 8df0936..aaa90ef 100644 --- a/systems/tahina/configuration.nix +++ b/systems/tahina/configuration.nix @@ -3,22 +3,15 @@ pkgs, ... }: let - inherit (import ../../lib) retiolumAddresses restic; + inherit (import ../../lib) retiolumAddresses; in { imports = [ ./hardware-configuration.nix - ./home-assistant.nix - ./backup.nix - ./atuin.nix ../../configs/spacetime.nix ../../configs/sshd.nix - ../../configs/printing.nix - ../../configs/monitoring.nix - ../../configs/tmux.nix ../../configs/retiolum.nix ../../configs/nix.nix ../../configs/admin-essentials.nix - ../../configs/wpa_supplicant.nix ]; age.secrets = { @@ -34,40 +27,47 @@ in { owner = "tinc-retiolum"; group = "tinc-retiolum"; }; - restic = { - file = ../../secrets/restic.age; - mode = "400"; - owner = "restic"; - group = "restic"; + }; + + console.keyMap = "de"; + i18n.defaultLocale = "de_DE.UTF-8"; + services.xserver = { + layout = "de"; + 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; - services.restic.backups.niveum = { - initialize = true; - inherit (restic) repository; - timerConfig = { - OnCalendar = "daily"; - RandomizedDelaySec = "1h"; - }; - passwordFile = config.age.secrets.restic.path; - paths = [ - "/var/lib/moodle-dl" - "/var/lib/containers/storage/volumes/home-assistant" - config.services.postgresqlBackup.location - ]; - }; - - services.logind = { - lidSwitch = "ignore"; - lidSwitchDocked = "ignore"; - lidSwitchExternalPower = "ignore"; - suspendKey = "ignore"; - suspendKeyLongPress = "ignore"; - hibernateKey = "ignore"; - hibernateKeyLongPress = "ignore"; - }; - - services.illum.enable = true; + environment.systemPackages = [ + pkgs.libreoffice + pkgs.gimp + pkgs.inkscape + pkgs.firefox + pkgs.audacity + pkgs.pidgin + pkgs.git + ]; networking = { useDHCP = false;