small thunar and greetd changes and some refactoring
This commit is contained in:
@@ -30,7 +30,7 @@ in {
|
||||
background = [
|
||||
{
|
||||
monitor = "";
|
||||
path = "~/media/images/l_int06_big.jpg";
|
||||
path = "~/media/images/l_ash09_big.jpg";
|
||||
}
|
||||
];
|
||||
input-field = [
|
||||
|
||||
@@ -31,8 +31,6 @@ in {
|
||||
home.packages = with pkgs; [
|
||||
# misc.gui
|
||||
# virt-manager
|
||||
xfce.thunar
|
||||
file-roller # archiver
|
||||
gnome-calculator
|
||||
keepassxc
|
||||
# networkmanagerapplet # tray icon for NetworkManager
|
||||
@@ -63,8 +61,6 @@ in {
|
||||
wireguard-tools
|
||||
wl-clipboard
|
||||
wpa_supplicant
|
||||
xfce.thunar-archive-plugin
|
||||
xfce.thunar-volman
|
||||
unzip
|
||||
zip
|
||||
gnutar
|
||||
|
||||
26
modules/home/programs/thunar/default.nix
Normal file
26
modules/home/programs/thunar/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.home.programs.thunar;
|
||||
in {
|
||||
options = {
|
||||
home.programs.thunar.enable = mkEnableOption "Enables thunar file manager";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
programs.xfconf.enable = true;
|
||||
services.tumbler.enable = true;
|
||||
|
||||
environment.systemPackages = [pkgs.file-roller];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user