From 5dffba75f402c9715c5bdf4c59ec7adcfe0a7115 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 4 May 2023 07:01:03 +0100 Subject: [PATCH] Specify system autoUpgrade rules per-system --- nixos/H0615.nix | 6 +++++- nixos/Vanguard.nix | 5 +++++ nixos/common.nix | 5 ----- nixos/home/desktop/wayland/config/hypr/window-rules.conf | 1 + 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/nixos/H0615.nix b/nixos/H0615.nix index c5acd036..b3fb6d0e 100644 --- a/nixos/H0615.nix +++ b/nixos/H0615.nix @@ -7,7 +7,6 @@ in (import "${home-manager}/nixos") ./common.nix ./hardware/audio.nix - ./hardware/bluetooth.nix ./locales/en_GB.nix ./desktop/hyprland.nix ]; @@ -29,4 +28,9 @@ in home.homeDirectory = "/home/elitherl"; home.stateVersion = "22.11"; }; + + system.autoUpgrade = { + enable = false; + allowReboot = false; + }; } diff --git a/nixos/Vanguard.nix b/nixos/Vanguard.nix index 89f204b2..8afeaacd 100644 --- a/nixos/Vanguard.nix +++ b/nixos/Vanguard.nix @@ -43,4 +43,9 @@ in enable = true; users = [ "xenia" ]; }; + + system.autoUpgrade = { + enable = true; + allowReboot = false; + }; } diff --git a/nixos/common.nix b/nixos/common.nix index 81543a89..12fe7373 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -45,9 +45,4 @@ dates = "weekly"; options = "--delete-older-than 7d"; }; - - system.autoUpgrade = { - enable = false; - allowReboot = false; - }; } diff --git a/nixos/home/desktop/wayland/config/hypr/window-rules.conf b/nixos/home/desktop/wayland/config/hypr/window-rules.conf index 0d6ee532..885ace15 100644 --- a/nixos/home/desktop/wayland/config/hypr/window-rules.conf +++ b/nixos/home/desktop/wayland/config/hypr/window-rules.conf @@ -1,4 +1,5 @@ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +windowrule = tile, ^(neovide)$ windowrule = float, ^(thunar)$ windowrule = float, ^(pavucontrol)$ windowrule = float, ^(Signal)$