Move thunar configuration
All checks were successful
/ check (push) Successful in 1m33s

This commit is contained in:
Oliver Davies 2025-07-25 10:43:30 +01:00
parent ce1fa163fd
commit 603a310d68
6 changed files with 19 additions and 29 deletions

View file

@ -36,7 +36,6 @@
dwm.enable = true;
media.makemkv.enable = true;
st.enable = true;
thunar.enable = true;
};
};

View file

@ -12,7 +12,6 @@
./pipewire.nix
./podman.nix
./st.nix
./thunar.nix
./zram.nix
];
}

View file

@ -1,27 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.desktop.thunar;
in
{
options.features.desktop.thunar.enable = mkEnableOption "Enable thunar";
config = mkIf cfg.enable {
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
];
};
environment.systemPackages = with pkgs; [ xfce.tumbler ];
};
}

View file

@ -0,0 +1,3 @@
{
flake.modules.pc.nixos.programs.thunar.enable = true;
}

View file

@ -0,0 +1,7 @@
{
flake.modules.pc.nixos =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ xfce.tumbler ];
};
}

View file

@ -0,0 +1,9 @@
{
flake.modules.pc.nixos =
{ pkgs, ... }:
{
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
];
};
}