Compare commits

...

2 Commits

Author SHA1 Message Date
d7a2371938 Added polkit auth to sway config 2024-03-17 20:24:39 -06:00
e7fc91cb3e add direnv and rpi imager 2024-03-17 16:39:06 -06:00
4 changed files with 13 additions and 1 deletions

View File

@ -73,6 +73,7 @@ in
installGaming = deskCfg.installGaming; installGaming = deskCfg.installGaming;
systemPackages = with pkgs; [ systemPackages = with pkgs; [
libreoffice libreoffice
rpi-imager
]; ];
}; };

View File

@ -1,5 +1,5 @@
# Auth with polkit-gnome: # Auth with polkit-gnome:
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec lxqt-policykit-agent
# Desktop notifications # Desktop notifications
exec mako exec mako

View File

@ -157,6 +157,15 @@
userName = fullName; userName = fullName;
}; };
programs = {
direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
bash.enable = true; # see note on other shells below
};
# Zsh setup # Zsh setup
programs.zsh = { programs.zsh = {
enable = true; enable = true;
@ -166,6 +175,7 @@
theme = "half-life"; theme = "half-life";
}; };
initExtra = '' initExtra = ''
eval "$(direnv hook zsh)"
alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'" alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'"
fzf_projects() { fzf_projects() {

View File

@ -78,6 +78,7 @@
wofi wofi
xdg-utils xdg-utils
zsh zsh
lxqt.lxqt-policykit
# Fonts # Fonts
] ]
config.swaywm.systemPackages config.swaywm.systemPackages