diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-03 18:43:41 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-03 18:43:41 -0800 |
| commit | 491e8c6bd4414dd66b41e5af0ba33717449263b2 (patch) | |
| tree | 76907ce27ea0e912ffc9d64b7f6de86eca23fdec /home/profiles | |
| parent | fish shell setup for darwin (diff) | |
| download | infra-491e8c6bd4414dd66b41e5af0ba33717449263b2.tar.gz | |
simplify home profiles a bit more
Diffstat (limited to 'home/profiles')
| -rw-r--r-- | home/profiles/bat.nix | 4 | ||||
| -rw-r--r-- | home/profiles/mac.nix | 25 | ||||
| -rw-r--r-- | home/profiles/minimal.nix | 3 | ||||
| -rw-r--r-- | home/profiles/work.nix | 1 | ||||
| -rw-r--r-- | home/profiles/workstation.nix | 23 |
5 files changed, 20 insertions, 36 deletions
diff --git a/home/profiles/bat.nix b/home/profiles/bat.nix deleted file mode 100644 index a03ba62..0000000 --- a/home/profiles/bat.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: -{ - programs.bat.enable = true; -} diff --git a/home/profiles/mac.nix b/home/profiles/mac.nix index 01a891a..100f757 100644 --- a/home/profiles/mac.nix +++ b/home/profiles/mac.nix @@ -1,10 +1,5 @@ -{ - pkgs, - config, - ... -}: +{ pkgs, config, ... }: let - inherit (config.home) username; in { @@ -14,32 +9,48 @@ in }; imports = [ + ./direnv.nix + ./eza.nix + ./fd.nix ./fish.nix - ./ssh.nix + ./git.nix + ./go.nix ./onepassword.nix + ./ssh.nix + ./starship.nix ../programs/emacs ../programs/firefox ]; home.homeDirectory = "/Users/${username}"; + programs.bat.enable = true; + home.packages = with pkgs; [ age aider-chat bandwhich + bottom coreutils delve dive # explore layers in docker images docker docker-credential-helpers + dust + fish + jless + jq nil # nix lsp nix-direnv # integration with direnv nixfmt-rfc-style # new formatter procs restic + ripgrep shellcheck + tree wget wireshark + yq ]; home.sessionVariables = { diff --git a/home/profiles/minimal.nix b/home/profiles/minimal.nix index f3aef75..ac0d84f 100644 --- a/home/profiles/minimal.nix +++ b/home/profiles/minimal.nix @@ -4,10 +4,11 @@ let in { imports = [ - ./bat.nix ./eza.nix ]; + programs.bat.enable = true; + home.homeDirectory = "/home/${username}"; home.stateVersion = "25.05"; } diff --git a/home/profiles/work.nix b/home/profiles/work.nix index 04dc61e..da7104f 100644 --- a/home/profiles/work.nix +++ b/home/profiles/work.nix @@ -86,7 +86,6 @@ in shellAbbrs = let environments = [ - o { name = "chi1"; alias = "chi1"; diff --git a/home/profiles/workstation.nix b/home/profiles/workstation.nix deleted file mode 100644 index 0494281..0000000 --- a/home/profiles/workstation.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - ./bat.nix - ./eza.nix - ./direnv.nix - ./go.nix - ./starship.nix - ./fd.nix - ./git.nix - ]; - - home.packages = with pkgs; [ - bottom - dust - fish - jless - jq - ripgrep - tree - yq - ]; -} |
