diff --git a/hosts/Disco.nix b/hosts/Disco.nix index 07ca909..c69a278 100644 --- a/hosts/Disco.nix +++ b/hosts/Disco.nix @@ -6,7 +6,7 @@ ./x270.nix ./scanner.nix ./printer.nix - # ./clamav.nix + ./clamav.nix ]; boot.loader.systemd-boot.enable = true; @@ -76,10 +76,9 @@ vscodium marktext - tor-browser-bundle-bin + tor-browser libreoffice-fresh - tdesktop - signal-desktop + telegram-desktop signal-desktop horizon-eda kicad-small # cura @@ -114,6 +113,7 @@ exclude_regex = /home/.*/\.mozilla exclude_regex = /home/.*/\.local exclude_regex = /home/.*/\.cargo + exclude_regex = /home/.*/\.rustup exclude_regex = /home/.*/\.texlive.* exclude_regex = /home/.*/\.vscode.* exclude_regex = sync_[0-9a-f]+\.db @@ -127,6 +127,11 @@ localNetworkGameTransfers.openFirewall = true; }; + services.mullvad-vpn = { + enable = true; + package = pkgs.mullvad-vpn; + }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steam" "steam-original" @@ -180,9 +185,9 @@ ExecStart = lib.mkForce "systemd-inhibit --what=sleep:handle-lid-switch --why='NixOS upgrade' ${updateScript}/bin/nixos-upgrade"; }; }; - services.logind.extraConfig = '' - LidSwitchIgnoreInhibited = no - ''; + services.logind.settings.Login = { + LidSwitchIgnoreInhibited = "no"; + }; services.earlyoom = { enable = true; diff --git a/hosts/xfce.nix b/hosts/xfce.nix index a9d5128..b44492b 100644 --- a/hosts/xfce.nix +++ b/hosts/xfce.nix @@ -11,10 +11,10 @@ }; displayManager = { lightdm.enable = true; - gdm.wayland = false; }; }; services.displayManager = { + gdm.wayland = false; defaultSession = "xfce"; autoLogin.enable = true; autoLogin.user = "fruchti";