formatting: new formatting'
This commit is contained in:
parent
7efcab98a9
commit
ef1b9f6c91
15 changed files with 358 additions and 152 deletions
5
common/gui/default.nix
Normal file
5
common/gui/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{lib, ...}: {
|
||||
imports = [./thunar.nix];
|
||||
|
||||
thunar.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
@ -1,15 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
options = {
|
||||
thunar.enable = lib.mkEnableOption "Enables thunar and its plugins";
|
||||
};
|
||||
config = lib.mkIf config.thunar.enable {
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
||||
services.tumbler.enable = true; # Thumbnail support for images
|
||||
};
|
||||
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
||||
services.tumbler.enable = true; # Thumbnail support for images
|
||||
}
|
||||
|
|
|
|||
21
common/gui/thunar.sync-conflict-20240508-115349-N2TYFZ4.nix
Normal file
21
common/gui/thunar.sync-conflict-20240508-115349-N2TYFZ4.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
thunar.enable = lib.mkEnableOption "Enables thunar and its plugins";
|
||||
};
|
||||
config = lib.mkIf config.thunar.enable {
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
||||
services.tumbler.enable = true; # Thumbnail support for images
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue