summaryrefslogtreecommitdiff
path: root/users/seth/programs/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-01 10:41:09 -0400
committerseth <[email protected]>2023-10-01 10:49:46 -0400
commita8630322f77dbb7be4810099a42352b9278996a1 (patch)
treeb8df66a7e5b9d8c31b27a4a9b357ff7e4b9d418f /users/seth/programs/default.nix
parent30f55e656d344e017f66ecbae8eb27cf13ba53bb (diff)
treewide!: flatten to parts/ layout
Diffstat (limited to 'users/seth/programs/default.nix')
-rw-r--r--users/seth/programs/default.nix60
1 files changed, 0 insertions, 60 deletions
diff --git a/users/seth/programs/default.nix b/users/seth/programs/default.nix
deleted file mode 100644
index 93ba8f5..0000000
--- a/users/seth/programs/default.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- config,
- lib,
- pkgs,
- ...
-}: let
- cfg = config.getchoo.programs.defaultPrograms;
- inherit (lib) mkDefault mkEnableOption mkIf;
-in {
- options.getchoo.programs.defaultPrograms.enable = mkEnableOption "default programs" // {default = true;};
-
- imports = [
- ./chromium.nix
- ./firefox
- ./git.nix
- ./gpg.nix
- ./mangohud.nix
- ./neovim
- ./ssh.nix
- ./vim.nix
- ];
-
- config = mkIf cfg.enable {
- home.packages = with pkgs; [
- fd
- nix-your-shell
- nurl
- rclone
- restic
- ];
-
- programs = {
- btop.enable = mkDefault true;
-
- direnv = {
- enable = mkDefault true;
- nix-direnv.enable = mkDefault true;
- };
-
- ripgrep.enable = mkDefault true;
-
- nix-index-database.comma.enable = mkDefault true;
- };
-
- xdg =
- {
- enable = mkDefault true;
- }
- // (mkIf config.programs.btop.enable {
- configFile."btop/themes/catppuccin_mocha.theme".source =
- pkgs.fetchFromGitHub {
- owner = "catppuccin";
- repo = "btop";
- rev = "ecb8562bb6181bb9f2285c360bbafeb383249ec3";
- sha256 = "sha256-ovVtupO5jWUw6cwA3xEzRe1juUB8ykfarMRVTglx3mk=";
- }
- + "/catppuccin_mocha.theme";
- });
- };
-}