chore: fix some statix findings

Signed-off-by: jolheiser <git@jolheiser.com>
main
jolheiser 2024-07-16 09:08:16 -05:00
parent cf40e534f4
commit 1227cb3f82
No known key found for this signature in database
3 changed files with 17 additions and 11 deletions

View File

@ -45,11 +45,13 @@
themeDir = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}"; themeDir = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}";
in in
lib.mkIf config.gtk.enable { lib.mkIf config.gtk.enable {
configFile."gtk-4.0/assets" = { configFile = {
source = "${themeDir}/gtk-4.0/assets"; "gtk-4.0/assets" = {
recursive = true; source = "${themeDir}/gtk-4.0/assets";
recursive = true;
};
"gtk-4.0/gtk.css".source = "${themeDir}/gtk-4.0/gtk.css";
"gtk-4.0/gtk-dark.css".source = "${themeDir}/gtk-4.0/gtk-dark.css";
}; };
configFile."gtk-4.0/gtk.css".source = "${themeDir}/gtk-4.0/gtk.css";
configFile."gtk-4.0/gtk-dark.css".source = "${themeDir}/gtk-4.0/gtk-dark.css";
}; };
} }

View File

@ -2,8 +2,8 @@ let
goPath = ".local/share/go"; goPath = ".local/share/go";
in { in {
programs.go = { programs.go = {
inherit goPath;
enable = true; enable = true;
goPath = goPath;
goBin = "${goPath}/bin"; goBin = "${goPath}/bin";
}; };
} }

View File

@ -40,12 +40,16 @@
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
users.users.olheiser.isNormalUser = true; users = {
users.users.jolheiser = { users = {
extraGroups = ["wheel" "docker" "storage"]; olheiser.isNormalUser = true;
isNormalUser = true; jolheiser = {
extraGroups = ["wheel" "docker" "storage"];
isNormalUser = true;
};
};
groups.media.members = ["jolheiser" "olheiser" "jellyfin"];
}; };
users.groups.media.members = ["jolheiser" "olheiser" "jellyfin"];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox