diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-09 09:52:00 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-09 09:52:00 -0700 |
commit | 34d308bf34a28f5be6dd91e7971e5a5655a56a30 (patch) | |
tree | 0d50beb63730a264f4b984f922c1028fdf0bd3c5 | |
parent | remove `mkHome` from lib (diff) | |
download | world-34d308bf34a28f5be6dd91e7971e5a5655a56a30.tar.gz |
add pcmanfm and easyeffects
Diffstat (limited to '')
-rw-r--r-- | home/default.nix | 1 | ||||
-rw-r--r-- | home/pcmanfm/default.nix | 9 | ||||
-rw-r--r-- | modules/hardware/sound/default.nix | 1 | ||||
-rw-r--r-- | profiles/desktop/default.nix | 1 |
4 files changed, 12 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix index ef9830d..ce3139e 100644 --- a/home/default.nix +++ b/home/default.nix @@ -17,6 +17,7 @@ ./mpv ./packages ./pass + ./pcmanfm ./python ./scanner ./ssh diff --git a/home/pcmanfm/default.nix b/home/pcmanfm/default.nix new file mode 100644 index 0000000..cca8f9a --- /dev/null +++ b/home/pcmanfm/default.nix @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: +let cfg = config.my.home.pcmanfm; +in { + options.my.home.pcmanfm = with lib; { + enable = mkEnableOption "pcmanfm configuration"; + }; + + config = lib.mkIf cfg.enable { home.packages = with pkgs; [ pcmanfm ]; }; +} diff --git a/modules/hardware/sound/default.nix b/modules/hardware/sound/default.nix index 95e5ebc..dc9f079 100644 --- a/modules/hardware/sound/default.nix +++ b/modules/hardware/sound/default.nix @@ -15,6 +15,7 @@ in { # We install it to get access to pactl. It isn't enabled or run as a service. pulseaudio pavucontrol + easyeffects ]; services.pipewire = { diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index 8ebe0da..757c057 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -11,6 +11,7 @@ in { home = { emacs.enable = true; firefox.enable = true; + pcmanfm.enable = true; terminal.program = "alacritty"; xdg.enable = true; }; |