From 70b7f4bc001e1c1d11bf6ef92169873853f1da2d Mon Sep 17 00:00:00 2001 From: shinya Date: Wed, 24 Dec 2025 11:34:50 +0100 Subject: [PATCH] update minor settings --- hosts/configuration.nix | 25 ++++++++++++++++++++++--- hosts/home.nix | 8 ++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 3137c88..3a2e11f 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -4,7 +4,7 @@ imports = [ ./hardware-configuration.nix ]; users.users = { - # root.password = "admin1234"; + root.password = "admin1234"; admin = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user. @@ -14,16 +14,26 @@ helix dconf-editor + calamares-nixos + hypnotix blueman libreoffice + xournalpp wineWowPackages.stable mpv + keepassxc + clamtk + clamav stremio ]); }; }; + services.userborn = { + enable = true; + }; + home-manager = { backupFileExtension = "backup"; users = { @@ -110,6 +120,12 @@ alsa.support32Bit = true; pulse.enable = true; }; + + clamav = { + daemon.enable = true; + updater.enable = true; + scanner.enable = true; + }; }; security.rtkit.enable = true; @@ -162,7 +178,7 @@ # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. - # networking.firewall.enable = false; + networking.firewall.enable = true; # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you @@ -186,7 +202,10 @@ # and migrated your data accordingly. # # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + package = pkgs.lixPackageSets.stable.lix; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; system.stateVersion = "25.11"; # Did you read the comment? } diff --git a/hosts/home.nix b/hosts/home.nix index ac21f02..4ac504a 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -26,6 +26,14 @@ install_url = "https://addons.mozilla.org/firefox/downloads/file/4598854/ublock_origin-1.67.0.xpi"; installation_mode = "force_installed"; }; + "keepassxc-browser@keepassxc.org" = { + install_url = "https://addons.mozilla.org/firefox/downloads/file/4592023/keepassxc_browser-1.9.10.xpi"; + installation_mode = "force_installed"; + }; + "{d6f0f975-91a3-4d78-96f7-5f1859ad18b6}" = { + install_url = "https://addons.mozilla.org/firefox/downloads/file/4613043/hlidac_shopu-2.4.4.xpi"; + installation_mode = "force_installed"; + }; }; }; };