try to fix nix warnings

This commit is contained in:
Noah Masur
2026-08-01 08:54:13 -04:00
parent 59685bf023
commit 31cecf05cc
7 changed files with 52 additions and 46 deletions
@@ -25,6 +25,7 @@ in
config = lib.mkIf cfg.enable {
# Cursor
home.pointerCursor = {
enable = true;
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
size = 24;
@@ -203,7 +203,7 @@ in
};
# Used for macOS
xdg.enable = lib.mkDefault pkgs.stdenv.isDarwin;
xdg.enable = lib.mkIf pkgs.stdenv.isDarwin true;
xdg.desktopEntries.aerc = lib.mkIf (pkgs.stdenv.isLinux) {
name = "aerc";
@@ -23,6 +23,7 @@ in
programs.firefox = {
enable = true;
configPath = ".mozilla/firefox";
package = pkgs.firefox;
profiles.default = {
id = 0;
@@ -30,8 +30,9 @@ in
publicShare = lib.mkDefault "$HOME/other/public";
templates = lib.mkDefault "$HOME/other/templates";
extraConfig = {
XDG_DEV_DIR = lib.mkDefault "$HOME/dev";
DEV = lib.mkDefault "$HOME/dev";
};
setSessionVariables = true;
};
nmasur.presets.programs = {