mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 21:15:02 +00:00
update lockfile, fix darwin
This commit is contained in:
1 parent
bda59eeb4a
commit
9b97c9ac84
6 files changed
+35
-30
No files matched your search
@@ -12,8 +12,11 @@
|
||||
config = lib.mkIf (config.gui.enable && config.kitty.enable) {
|
||||
|
||||
# Set the Rofi-Systemd terminal for viewing logs
|
||||
environment.sessionVariables.ROFI_SYSTEMD_TERM =
|
||||
lib.mkIf pkgs.stdenv.isLinux "${pkgs.kitty}/bin/kitty";
|
||||
# Using optionalAttrs because only available in NixOS
|
||||
environment = { } // lib.attrsets.optionalAttrs
|
||||
(builtins.hasAttr "sessionVariables" config.environment) {
|
||||
sessionVariables.ROFI_SYSTEMD_TERM = "${pkgs.kitty}/bin/kitty";
|
||||
};
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
|
||||
|
||||
Reference in new issue
Block a user