This commit is contained in:
parent
ce1fa163fd
commit
603a310d68
6 changed files with 19 additions and 29 deletions
|
@ -36,7 +36,6 @@
|
||||||
dwm.enable = true;
|
dwm.enable = true;
|
||||||
media.makemkv.enable = true;
|
media.makemkv.enable = true;
|
||||||
st.enable = true;
|
st.enable = true;
|
||||||
thunar.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./st.nix
|
./st.nix
|
||||||
./thunar.nix
|
|
||||||
./zram.nix
|
./zram.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
3
modules2/thunar/enable.nix
Normal file
3
modules2/thunar/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.pc.nixos.programs.thunar.enable = true;
|
||||||
|
}
|
7
modules2/thunar/extra-packages.nix
Normal file
7
modules2/thunar/extra-packages.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
flake.modules.pc.nixos =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [ xfce.tumbler ];
|
||||||
|
};
|
||||||
|
}
|
9
modules2/thunar/plugins.nix
Normal file
9
modules2/thunar/plugins.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
flake.modules.pc.nixos =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.thunar.plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue