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

@ -35,7 +35,6 @@
valheim-server.inputs.nixpkgs.follows = "nixpkgs"; valheim-server.inputs.nixpkgs.follows = "nixpkgs";
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest"; nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
nix-flatpak.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs @ { outputs = inputs @ {

View file

@ -73,6 +73,7 @@ in {
# SSH: auto-add work key to gpg-agent on first use # SSH: auto-add work key to gpg-agent on first use
programs.ssh = { programs.ssh = {
enable = true; enable = true;
enableDefaultConfig = false;
matchBlocks."*" = { matchBlocks."*" = {
identityFile = "~/.ssh/work_ed25519"; identityFile = "~/.ssh/work_ed25519";
addKeysToAgent = "yes"; addKeysToAgent = "yes";

View file

@ -89,7 +89,7 @@ in {
graphics = { graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ]; extraPackages = with pkgs; [ libva-vdpau-driver libvdpau-va-gl ];
}; };
nvidia = { nvidia = {
@ -110,9 +110,10 @@ in {
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";
}; };
}; };
pulseaudio.support32Bit = true;
}; };
services.pulseaudio.support32Bit = true;
## Mouse ## Mouse
services.libinput.mouse.accelProfile = "flat"; services.libinput.mouse.accelProfile = "flat";

View file

@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
lib, lib,
config,
osConfig, osConfig,
... ...
}: let }: let
@ -19,4 +20,7 @@ in {
mods.hyprland.enable = lib.mkIf cfg.wayland.enable true; mods.hyprland.enable = lib.mkIf cfg.wayland.enable true;
mods.i3.enable = lib.mkIf osConfig.services.xserver.windowManager.i3.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; enable = true;
userDirs = { userDirs = {
enable = true; enable = true;
setSessionVariables = true;
documents = "$HOME/documents"; documents = "$HOME/documents";
download = "$HOME/downloads"; download = "$HOME/downloads";
videos = "$HOME/misc/videos"; videos = "$HOME/misc/videos";

View file

@ -8,6 +8,11 @@ in {
config = { config = {
home-manager = { home-manager = {
extraSpecialArgs = { inherit system pkgs inputs sources; }; 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}" = { users."${cfg.user.name}" = {
imports = imports =
[ cfg.home.file inputs.self.outputs.homeManagerModules.default ]; [ cfg.home.file inputs.self.outputs.homeManagerModules.default ];

View file

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

View file

@ -28,7 +28,7 @@ in {
modules = [ modules = [
homeFile homeFile
inputs.self.outputs.homeManagerModules.default inputs.self.outputs.homeManagerModules.default
inputs.stylix.homeManagerModules.stylix inputs.stylix.homeModules.stylix
({ osConfig, ... }: { ({ osConfig, ... }: {
home.username = username; home.username = username;
home.homeDirectory = "/home/${username}"; home.homeDirectory = "/home/${username}";