Remove warnings

This commit is contained in:
muon 2026-04-13 10:42:58 +00:00
parent fdb7391a32
commit 469b1f78b4
8 changed files with 15 additions and 5 deletions

View file

@ -1,6 +1,7 @@
{
pkgs,
lib,
config,
osConfig,
...
}: let
@ -19,4 +20,7 @@ in {
mods.hyprland.enable = lib.mkIf cfg.wayland.enable true;
mods.i3.enable = lib.mkIf osConfig.services.xserver.windowManager.i3.enable true;
# Silence stateVersion < 26.05 deprecation warnings by pinning the old defaults.
gtk.gtk4.theme = lib.mkDefault config.gtk.theme;
}

View file

@ -35,6 +35,7 @@
enable = true;
userDirs = {
enable = true;
setSessionVariables = true;
documents = "$HOME/documents";
download = "$HOME/downloads";
videos = "$HOME/misc/videos";

View file

@ -8,6 +8,11 @@ in {
config = {
home-manager = {
extraSpecialArgs = { inherit system pkgs inputs sources; };
# When stylix is enabled it injects its own HM module (and followSystem
# copyModules) via homeManagerIntegration.autoImport. Only add it here
# for hosts where stylix is disabled so that stylix options are still
# declared (even if unused) in every home-manager context.
sharedModules = lib.optional (!config.stylix.enable) inputs.stylix.homeModules.stylix;
users."${cfg.user.name}" = {
imports =
[ cfg.home.file inputs.self.outputs.homeManagerModules.default ];

View file

@ -39,7 +39,6 @@ in with lib; {
enable = true;
openFirewall = true;
openRPCPort = true;
port = arr.torrent.port;
package = pkgs.transmission_4;
settings = {
download-dir = "/storage1/download";