diff --git a/flake.nix b/flake.nix index 98ab65b..90c2585 100644 --- a/flake.nix +++ b/flake.nix @@ -21,15 +21,8 @@ ./system/gnome.nix ./system/btrbk.nix ./system/hardware-nova.nix + ./system/alt.nix ]; - users.users.alt = { - isNormalUser = true; - description = "Alt"; - extraGroups = [ - "networkmanager" - ]; - shell = pkgs.fish; - }; }; romulus = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; diff --git a/home/firefox.nix b/home/firefox.nix index 36b97fb..202d0d3 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -60,10 +60,16 @@ definedAliases = [ "@np" ]; }; "NixOS Wiki" = { - urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; - iconUpdateURL = "https://nixos.wiki/favicon.png"; - updateInterval = 24 * 60 * 60 * 1000; - definedAliases = [ "@nw" ]; + urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; + iconUpdateURL = "https://nixos.wiki/favicon.png"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@nw" ]; + }; + "NixOS Options" = { + urls = [{ template = "https://search.nixos.org/options?query={searchTerms}"; }]; + iconUpdateURL = "https://nixos.org/favicon.png"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@no" ]; }; "Home manager options" = { urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }]; @@ -107,6 +113,7 @@ user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query "); user_pref("network.trr.mode", 3); user_pref("network.trr.uri", "https://dns.quad9.net/dns-query"); + user_pref("permissions.default.desktop-notification", 2); user_pref("privacy.annotate_channels.strict_list.enabled", true); user_pref("privacy.donottrackheader.enabled", true); user_pref("privacy.globalprivacycontrol.enabled", true); diff --git a/system/alt.nix b/system/alt.nix new file mode 100644 index 0000000..60c72e6 --- /dev/null +++ b/system/alt.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: + +{ + users.users.alt = { + isSystemUser = true; + description = "Alt"; + extraGroups = [ + "networkmanager" + ]; + shell = pkgs.fish; + group = "alt"; + home = "/home/alt"; + }; + users.groups.alt = {}; +} diff --git a/system/hardware-nova.nix b/system/hardware-nova.nix index 0d81e0e..53b87f6 100644 --- a/system/hardware-nova.nix +++ b/system/hardware-nova.nix @@ -12,8 +12,8 @@ in boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ "kvm-intel" "v4l2loopback" ]; + boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; boot.initrd.luks.devices."cryptroot" = { device = "/dev/disk/by-uuid/eaad533f-8586-4002-9c53-5aecf8e7abd8";