diff --git a/home/default.nix b/home/default.nix index 99b082fd..922422a4 100644 --- a/home/default.nix +++ b/home/default.nix @@ -7,6 +7,8 @@ ./rofi.nix ./dunst.nix ./stylix.nix + + ./env.nix ./alacritty.nix ./clipman.nix diff --git a/home/env.nix b/home/env.nix new file mode 100644 index 00000000..b860818d --- /dev/null +++ b/home/env.nix @@ -0,0 +1,14 @@ +{conf, config, pkgs, ...}: { + home = { + file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/${conf.user}/sync/inbox"; + + shellAliases = { + cat = "bat -p"; + "." = "source"; + ls = "${pkgs.eza}/bin/eza -g --git --group-directories-first"; + ll = "${pkgs.eza}/bin/eza -l"; + la = "${pkgs.eza}/bin/eza -la"; + grep = "grep --color=auto"; + }; + }; +} diff --git a/home/packages.nix b/home/packages.nix index c238d7cb..d3d7a3b4 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -31,11 +31,13 @@ htop ollama + zoom-us ]; gaming = with pkgs; [ prismlauncher lutris + steamtinkerlaunch ]; in common ++ (lib.optionals system-config.gaming.enable gaming); diff --git a/home/persist.nix b/home/persist.nix index b050e71a..1f3b8d26 100644 --- a/home/persist.nix +++ b/home/persist.nix @@ -21,6 +21,7 @@ ".local/share/PrismLauncher" ".local/share/Steam" ".local/share/lutris" + ".local/share/games" ]; files = []; }; diff --git a/home/zsh/default.nix b/home/zsh/default.nix index f92316f5..db1735e7 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -1,13 +1,4 @@ -{pkgs, ...}: let - aliases = { - "." = "source"; - ls = "EXA_COLORS='xx=2;37' ${pkgs.eza}/bin/eza -g --git --group-directories-first"; - l = "ls -aal"; - atree = "ls -alT"; - tree = "ls -lT"; - grep = "grep --color=auto"; - }; -in { +{pkgs, ...}: { programs.zsh = { enable = true; autosuggestion.enable = true; @@ -34,6 +25,5 @@ in { zstyle ':completion:*' menu select ''; - shellAliases = aliases; }; }