1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-05-30 08:37:01 +02:00
This commit is contained in:
TheGeneralist 2026-03-20 17:58:21 +01:00
parent faeb9972fb
commit eac37f9535
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
4 changed files with 52 additions and 26 deletions

View file

@ -71,12 +71,12 @@ in
if config.isDarwin then
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ]''
else
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ] && [ -n "$SSH_TTY" ]'';
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ] && [ -z "$SSH_TTY" ]'';
in
{
home.file.".zshrc".text = # zsh
''
export PATH="$HOME/.local/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/etc/profiles/per-user/$USER/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin''${PATH:+:}''${PATH}"
export PATH="$HOME/.local/bin:/run/wrappers/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/etc/profiles/per-user/$USER/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin''${PATH:+:}''${PATH}"
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
if ${nuExecCondition}; then

View file

@ -1,14 +1,14 @@
{ config, lib, pkgs, ... }: let
inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList unique;
in {
users.defaultUserShell = pkgs.zsh;
# users.defaultUserShell = pkgs.zsh;
environment.sessionVariables.SHELLS = config.home-manager.users
|> mapAttrsToList (const <| getAttr "shellsByPriority")
|> flatten
|> map (drv: "${drv}${drv.shellPath}")
|> unique
|> concatStringsSep ":";
# environment.sessionVariables.SHELLS = config.home-manager.users
# |> mapAttrsToList (const <| getAttr "shellsByPriority")
# |> flatten
# |> map (drv: "${drv}${drv.shellPath}")
# |> unique
# |> concatStringsSep ":";
# environment.shellAliases = {
# ls = mkForce null;

View file

@ -70,8 +70,25 @@
enable = true;
package = pkgs.niri;
settings = {
layout = {
focus-ring = {
enable = false;
};
tab-indicator = {
enable = false;
};
border = {
enable = false;
};
# border = "off";
};
spawn-at-startup = [
{
command = [ "noctalia-shell" ];
}
];
binds = {
# Shortcuts Panel
# Shortcuts Pane
"Mod+Shift+Escape".action.show-hotkey-overlay = { };
# Application Shortcuts
@ -351,11 +368,6 @@
"pgrep -x hyprpicker >/dev/null || hyprpicker"
];
};
spawn-at-startup = [
{
command = [ "noctalia-shell" ];
}
];
};
};
}