fix nix flake check warnings

This commit is contained in:
mjallen18
2026-03-25 16:54:36 -05:00
parent ccd413d273
commit 78280d5150
6 changed files with 40 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ pre-commit-hooks-nix.lib.${pkgs.stdenv.hostPlatform.system}.run {
}; };
nixfmt-rfc-style = { nixfmt-rfc-style = {
enable = true; enable = true;
package = pkgs.nixfmt-rfc-style; package = pkgs.nixfmt;
}; };
statix = { statix = {
enable = true; enable = true;

27
flake.lock generated
View File

@@ -663,11 +663,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1774469069, "lastModified": 1774473207,
"narHash": "sha256-eDhFgg8kNcb5WCbpQT1RLbExDsnAs71z5tLA3zr2sGw=", "narHash": "sha256-uzBowJgpnVUnIxItld3MUT6H9tUtKGDX6eGjFB9yFKE=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "2475fd2f679e2692875c2ba6fc4076af45db1dab", "rev": "672d1652fd7d9c32058f3e3f5b4d6ab2aba3853a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -679,11 +679,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1774467735, "lastModified": 1774474683,
"narHash": "sha256-C22BiuSwJsHS1Li0jhPAZ2ElGwD62TgiHkN/tIwJ9iw=", "narHash": "sha256-3INbCL2xoj8j2VPSXsc6bcuc+YvlDremZg9RoEjrNcs=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "e469b9f7d6ea40e1c6a152b847a913ba1d400e7f", "rev": "9da10921a2cb0751d8b7970cfea4c6e92c4e8f76",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1435,14 +1435,17 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1774473056, "lastModified": 1774474975,
"narHash": "sha256-JeIOcQt7ctjOYxgy4+7ayDmHesHuPaFgbQ1WpcUrm/w=", "narHash": "sha256-3cHaGufox1mL8KbYDGHW2ySYwmwgslHTkcDpA7hoKk8=",
"path": "/home/admin/dev/snowfall-lib", "owner": "mjallen18",
"type": "path" "repo": "snowfall-lib",
"rev": "94056dbb28a42d49ca6bf45acb38122da42d8bfc",
"type": "github"
}, },
"original": { "original": {
"path": "/home/admin/dev/snowfall-lib", "owner": "mjallen18",
"type": "path" "repo": "snowfall-lib",
"type": "github"
} }
}, },
"sops-nix": { "sops-nix": {

View File

@@ -23,7 +23,7 @@
# The name "snowfall-lib" is required due to how Snowfall Lib processes your # The name "snowfall-lib" is required due to how Snowfall Lib processes your
# flake's inputs. Using a personal fork for custom changes. # flake's inputs. Using a personal fork for custom changes.
snowfall-lib = { snowfall-lib = {
url = "path:/home/admin/dev/snowfall-lib"; url = "github:mjallen18/snowfall-lib";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@@ -21,5 +21,8 @@ in
}; };
alias = gitAliases; alias = gitAliases;
}; };
# The default value of `programs.git.signing.format` has changed from `"openpgp"` to `null`.
# You are currently using the legacy default (`"openpgp"`) because `home.stateVersion` is less than "25.05".
signing.format = "openpgp";
}; };
} }

View File

@@ -0,0 +1,12 @@
{ ... }:
{
# The default value of `programs.password-store.settings` has changed from `{ PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store"; }` to `{ }`.
# You are currently using the legacy default (`{ PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store"; }`) because `home.stateVersion` is less than "25.11".
# To silence this warning and keep legacy behavior, set:
# programs.password-store.settings = { PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store"; };
programs.password-store = {
settings = {
PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store";
};
};
}

View File

@@ -31,6 +31,14 @@ let
isDarwin = system == "aarch64-darwin"; isDarwin = system == "aarch64-darwin";
in in
{ {
# The default value of `gtk.gtk4.theme` has changed from `config.gtk.theme` to `null`.
# You are currently using the legacy default (`config.gtk.theme`) because `home.stateVersion` is less than "26.05".
# To silence this warning and keep legacy behavior, set:
# gtk.gtk4.theme = config.gtk.theme;
# To adopt the new default behavior, set:
# gtk.gtk4.theme = null;
gtk.gtk4.theme = config.gtk.theme;
stylix = { stylix = {
enable = true; enable = true;
overlays.enable = false; overlays.enable = false;