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
|
|
@ -35,7 +35,6 @@
|
|||
valheim-server.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
|
||||
nix-flatpak.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ in {
|
|||
# SSH: auto-add work key to gpg-agent on first use
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks."*" = {
|
||||
identityFile = "~/.ssh/work_ed25519";
|
||||
addKeysToAgent = "yes";
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ in {
|
|||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
|
||||
extraPackages = with pkgs; [ libva-vdpau-driver libvdpau-va-gl ];
|
||||
};
|
||||
|
||||
nvidia = {
|
||||
|
|
@ -110,9 +110,10 @@ in {
|
|||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
pulseaudio.support32Bit = true;
|
||||
};
|
||||
|
||||
services.pulseaudio.support32Bit = true;
|
||||
|
||||
## Mouse
|
||||
services.libinput.mouse.accelProfile = "flat";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ in {
|
|||
modules = [
|
||||
homeFile
|
||||
inputs.self.outputs.homeManagerModules.default
|
||||
inputs.stylix.homeManagerModules.stylix
|
||||
inputs.stylix.homeModules.stylix
|
||||
({ osConfig, ... }: {
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue