update minor settings

This commit is contained in:
shinya 2025-12-24 11:34:50 +01:00
parent aaf8d3535a
commit 70b7f4bc00
2 changed files with 30 additions and 3 deletions

View File

@ -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?
}

View File

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