Compare commits

..

4 commits

Author SHA1 Message Date
96bb01aad3 Disco: Add changes for 25.11 2025-12-05 18:29:17 +01:00
4cd870076c Disco: Exclude ~/.rustup from backups 2025-12-05 17:34:00 +01:00
2796f070b8 Disco: Add Mullvad VPN package 2025-12-05 17:33:49 +01:00
5d67f5cb58 Disco: Enable clamav 2025-12-05 17:33:37 +01:00
2 changed files with 13 additions and 8 deletions

View file

@ -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;

View file

@ -11,10 +11,10 @@
};
displayManager = {
lightdm.enable = true;
gdm.wayland = false;
};
};
services.displayManager = {
gdm.wayland = false;
defaultSession = "xfce";
autoLogin.enable = true;
autoLogin.user = "fruchti";