formatting: new formatting'

This commit is contained in:
gwg313 2024-06-01 15:32:26 -04:00
parent 7efcab98a9
commit ef1b9f6c91
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
15 changed files with 358 additions and 152 deletions

5
common/gui/default.nix Normal file
View file

@ -0,0 +1,5 @@
{lib, ...}: {
imports = [./thunar.nix];
thunar.enable = lib.mkDefault true;
}

View file

@ -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
}

View 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
};
}