From b7f95a14c3d2de1d14ddb770b93e7414022e1200 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Fri, 28 Mar 2025 16:16:16 +0200 Subject: [PATCH] hosts/eldrid/users/user/home-configuration.nix: home-manager state follows system modules/home/desktop/niri/default.nix: change evince to papers modules/nixos/system/wireless/wifi.nix: simplify Signed-off-by: unexplrd --- hosts/eldrid/users/user/home-configuration.nix | 8 ++++++-- modules/home/desktop/niri/default.nix | 4 ++-- modules/nixos/system/wireless/wifi.nix | 8 ++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hosts/eldrid/users/user/home-configuration.nix b/hosts/eldrid/users/user/home-configuration.nix index e3da1f8..2296af1 100644 --- a/hosts/eldrid/users/user/home-configuration.nix +++ b/hosts/eldrid/users/user/home-configuration.nix @@ -1,4 +1,8 @@ -{inputs, ...}: { +{ + inputs, + osConfig, + ... +}: { imports = with inputs; [ nix-index-database.hmModules.nix-index self.homeModules.desktop @@ -8,7 +12,7 @@ ]; desktop.niri.enable = true; home = { - stateVersion = "25.05"; + stateVersion = osConfig.system.stateVersion; sessionPath = [ "$HOME/.local/bin" ]; diff --git a/modules/home/desktop/niri/default.nix b/modules/home/desktop/niri/default.nix index 518be63..cbc3b86 100644 --- a/modules/home/desktop/niri/default.nix +++ b/modules/home/desktop/niri/default.nix @@ -1456,7 +1456,7 @@ in { nautilus helvum loupe - evince + papers junction celluloid mission-center @@ -1497,7 +1497,7 @@ in { web_browser = ["re.sonny.Junction.desktop"]; image_viewer = ["org.gnome.Loupe.desktop"]; video_player = ["io.github.celluloid_player.Celluloid.desktop"]; - pdf_reader = ["org.gnome.Evince.desktop"]; + pdf_reader = ["org.gnome.Papers.desktop"]; in { "inode/directory" = file_manager; "video/x-matroska" = video_player; diff --git a/modules/nixos/system/wireless/wifi.nix b/modules/nixos/system/wireless/wifi.nix index 7f7e6b5..a4ac5d8 100644 --- a/modules/nixos/system/wireless/wifi.nix +++ b/modules/nixos/system/wireless/wifi.nix @@ -16,12 +16,8 @@ in { wireless.iwd = { enable = true; settings = { - General = { - AddressRandomization = "network"; - }; - Settings = { - AlwaysRandomizeAddress = true; - }; + General.AddressRandomization = "network"; + Settings.AlwaysRandomizeAddress = true; }; }; };