Extract a thunar mixin
This commit is contained in:
parent
0ff85547a8
commit
6d744eb2ed
4 changed files with 14 additions and 26 deletions
|
@ -10,6 +10,7 @@
|
|||
../../modules/mixins/bluetooth.nix
|
||||
../../modules/mixins/docker.nix
|
||||
../../modules/mixins/phpactor
|
||||
../../modules/mixins/thunar.nix
|
||||
|
||||
../common
|
||||
../../users/opdavies
|
||||
|
@ -19,7 +20,6 @@
|
|||
dwm.enable = true;
|
||||
redshift.enable = true;
|
||||
st.enable = true;
|
||||
thunar.enable = true;
|
||||
peek.enable = true;
|
||||
};
|
||||
|
||||
|
|
13
modules/mixins/thunar.nix
Normal file
13
modules/mixins/thunar.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ xfce.tumbler ];
|
||||
}
|
|
@ -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