refactor(statix): resolve 'statix check' issues

This commit is contained in:
2026-01-26 10:28:35 +01:00
parent 68eecd01c7
commit b827b518cd
24 changed files with 206 additions and 172 deletions

View File

@@ -27,9 +27,11 @@ in
../../modules/shell
];
home.stateVersion = "25.05";
home.username = username;
home.homeDirectory = "/home/${username}";
home = {
stateVersion = "25.05";
inherit username;
homeDirectory = "/home/${username}";
};
xdg.userDirs.createDirectories = false;
xdg.userDirs.download = "${config.home.homeDirectory}/dl";

View File

@@ -23,9 +23,11 @@ in
../../modules/shell
];
home.stateVersion = "25.05";
home.username = username;
home.homeDirectory = "/home/${username}";
home = {
stateVersion = "25.05";
inherit username;
homeDirectory = "/home/${username}";
};
xdg.userDirs.createDirectories = false;
xdg.userDirs.download = "${config.home.homeDirectory}/dl";

View File

@@ -45,12 +45,14 @@ in
nixpkgs.config.allowUnfree = true;
home.stateVersion = "25.05";
home.username = username;
home.homeDirectory = "/home/${username}";
home = {
stateVersion = "25.05";
inherit username;
homeDirectory = "/home/${username}";
};
targets.genericLinux.nixGL = {
packages = inputs.nixgl.packages;
inherit (inputs.nixgl) packages;
defaultWrapper = "mesa";
};

View File

@@ -13,4 +13,4 @@ let
[ ];
in
[ ] ++ localPackages
localPackages

View File

@@ -7,7 +7,7 @@
}:
let
cfg = config.shell.bash;
username = config.home.username;
inherit (config.home) username;
in
{
options.shell.bash = {