From 1d7b04a71c7222153ffa9cd48f73b51ea72204d1 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 18 Feb 2023 05:13:27 -0500 Subject: major refactor - `mkHost` now accepts an optional `specialArgs` argument to be passed to `nixosSystem()` - the `modules` argument for `mkHMUser` is now optional --- users/seth/programs/default.nix | 66 +++++++++++------------------------------ 1 file changed, 18 insertions(+), 48 deletions(-) (limited to 'users/seth/programs/default.nix') diff --git a/users/seth/programs/default.nix b/users/seth/programs/default.nix index d1b8f97..5394515 100644 --- a/users/seth/programs/default.nix +++ b/users/seth/programs/default.nix @@ -1,56 +1,26 @@ -{ - config, - pkgs, - ... -}: let - develPackages = - if config.seth.devel.enable - then - with pkgs; [ - alejandra - clang - deadnix - eclint - lld - statix - ] - else []; - - guiApps = - if config.seth.desktop != "" - then - with pkgs; [ - discord - element-desktop - spotify - steam - ] - else []; - systemPackages = - if !config.seth.standalone - then with pkgs; [python311] - else []; -in { +{pkgs, ...}: { imports = [ ./git.nix - ./mangohud ./neovim ./starship.nix ./vim.nix - ./xdg.nix ]; - home.packages = with pkgs; - [ - bat - exa - fd - gh - rclone - restic - ripgrep - ] - ++ develPackages - ++ guiApps - ++ systemPackages; + home.packages = with pkgs; [ + alejandra + bat + clang + deadnix + eclint + exa + fd + gh + lld + rclone + restic + ripgrep + statix + ]; + + xdg.enable = true; } -- cgit v1.2.3