mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
fixes
This commit is contained in:
parent
faeb9972fb
commit
eac37f9535
4 changed files with 52 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue