Extract a thunar mixin
This commit is contained in:
parent
0ff85547a8
commit
6d744eb2ed
4 changed files with 14 additions and 26 deletions
modules/nixos/desktop
|
@ -4,6 +4,5 @@
|
|||
./peek.nix
|
||||
./screenkey.nix
|
||||
./st.nix
|
||||
./thunar.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options.nixosModules.thunar.enable = mkEnableOption "Enable thunar";
|
||||
|
||||
config = mkIf config.nixosModules.thunar.enable {
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ xfce.tumbler ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue