diff --git a/hosts/minoxy-workstation/configuration.nix b/hosts/minoxy-workstation/configuration.nix index 2c8120c..8777f7d 100644 --- a/hosts/minoxy-workstation/configuration.nix +++ b/hosts/minoxy-workstation/configuration.nix @@ -30,6 +30,7 @@ SUBSYSTEM=="block", ENV{ID_FS_UUID}=="A09C8D5E9C8D2FB8", ENV{UDISKS_IGNORE}="1" ''; + # TODO: Make all your working systems go to ext4 on the full disk for ease of use and storage virtualisation.docker.storageDriver = "btrfs"; diff --git a/modules/essential.nix b/modules/essential.nix index 533750d..ae69385 100644 --- a/modules/essential.nix +++ b/modules/essential.nix @@ -16,6 +16,15 @@ security.pam.services.login.enableGnomeKeyring = true; services.gnome.gnome-keyring.enable = true; + security.polkit.extraConfig = '' + polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" && + subject.isInGroup("wheel")) { + return polkit.Result.YES; + } + }); + ''; + # Nix fun nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "flakes" "nix-command" ]; diff --git a/user/packages.nix b/user/packages.nix index b1901fc..84347e8 100644 --- a/user/packages.nix +++ b/user/packages.nix @@ -81,6 +81,7 @@ # --- System & Network --- btop + iotop fastfetch acpi brightnessctl @@ -94,6 +95,7 @@ curl wget libinput + mtr gdu timer @@ -111,8 +113,11 @@ bitwarden-cli lazydocker poppler_utils + entr + yq lazygit gitui + tokei dig unstable.yazi