mirror of
https://codeberg.org/muon/home.git
synced 2026-07-03 23:49:35 +00:00
Remove warnings
This commit is contained in:
parent
fdb7391a32
commit
469b1f78b4
8 changed files with 15 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
enable = true;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
setSessionVariables = true;
|
||||
documents = "$HOME/documents";
|
||||
download = "$HOME/downloads";
|
||||
videos = "$HOME/misc/videos";
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue