diff --git a/hosts/minoxy-workstation/configuration.nix b/hosts/minoxy-workstation/configuration.nix index 3189ae8..c4adc99 100644 --- a/hosts/minoxy-workstation/configuration.nix +++ b/hosts/minoxy-workstation/configuration.nix @@ -19,6 +19,17 @@ networking.hostName = "minoxy"; virtualisation.docker.enable = true; + + # Add file systems + boot.supportedFilesystems = [ "ntfs" "exfat" ]; + + # Hide the windows disk in the file explorer + services.udev.extraRules = '' + # Ignore internal NVMe Windows partition + SUBSYSTEM=="block", ENV{ID_PART_ENTRY_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"; # Never change this! diff --git a/modules/essential.nix b/modules/essential.nix index 211bb3d..4050ac3 100644 --- a/modules/essential.nix +++ b/modules/essential.nix @@ -7,6 +7,13 @@ hardware.enableAllFirmware = true; + services = { + udisks2.enable = true; + gvfs.enable = true; + }; + + security.polkit.enable = true; + # Nix fun nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "flakes" "nix-command" ]; @@ -25,7 +32,7 @@ services.avahi.nssmdns4 = true; environment = { - systemPackages = with pkgs; [ yazi tmux git starship zoxide rsync rclone ]; + systemPackages = with pkgs; [ yazi tmux git starship zoxide rsync rclone ntfs3g exfatprogs ]; }; nix.optimise.automatic = true; diff --git a/user/home.nix b/user/home.nix index 8544096..8bd5c0f 100644 --- a/user/home.nix +++ b/user/home.nix @@ -22,6 +22,9 @@ services.udiskie = { enable = true; + notify = true; + automount = true; + tray = "auto"; settings = { # workaround for # https://github.com/nix-community/home-manager/issues/632 diff --git a/user/packages.nix b/user/packages.nix index e495752..7ef91af 100644 --- a/user/packages.nix +++ b/user/packages.nix @@ -8,6 +8,7 @@ # --- Core GUI --- alacritty + kitty vscode libreoffice unstable.sioyek @@ -29,6 +30,7 @@ cheese mpv obsidian + nemo-with-extensions anki hyprshot hyprpicker @@ -94,6 +96,7 @@ lazydocker lazygit gitui + dig unstable.yazi # --- Languages & Package Managers ---