diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-10-14 10:53:18 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-10-14 10:53:18 -0400 |
commit | 5897af1a6c355f77c78f342d1d6f070670d14a4c (patch) | |
tree | ceacea8620f7a4f5b684837f8019244933286864 /modules/programs | |
parent | 972bff32235bbd414cbbaba5ac3eeb7979c2bad6 (diff) | |
download | nix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.tar.gz nix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.tar.bz2 nix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.zip |
remove redundant system folder. add useful programs.
Diffstat (limited to 'modules/programs')
-rw-r--r-- | modules/programs/programs.nix | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/modules/programs/programs.nix b/modules/programs/programs.nix index b9a003f..2ef9ec9 100644 --- a/modules/programs/programs.nix +++ b/modules/programs/programs.nix @@ -1,19 +1,27 @@ -{ config, lib, pkgs, user, ... }: +{ config, inputs, lib, pkgs, user, ... }: with lib; { - config.home-manager.users.${user} = mkIf (config.xserver.enable) { - home.packages = with pkgs; [ - libreoffice - hunspell - hunspellDicts.en_US + config = mkIf (config.xserver.enable) + { + home-manager.users.${user} = { + home.packages = with pkgs; [ + libreoffice + hunspell + hunspellDicts.en_US + + (pass.withExtensions (exts: [exts.pass-otp ])) + thefuck + mpc-cli + pavucontrol + qbittorrent + ffmpeg + mpv + ]; - (pass.withExtensions (exts: [exts.pass-otp ])) - thefuck - mpc-cli - pavucontrol - qbittorrent - ffmpeg - mpv - ]; + programs.vscode = { + enable = true; + package = pkgs.vscode.fhs; + }; + }; }; } |