From 70e855ccc73495754b4f11c7a0f61634c98f96d9 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 26 Nov 2025 21:07:33 +0300 Subject: [PATCH] Broken fix --- modules/user/hyprland.nix | 3 ++- user/common.nix | 2 ++ user/kirill/modules/hyprland.nix | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/user/hyprland.nix b/modules/user/hyprland.nix index d8cbd6a..9b5ed64 100644 --- a/modules/user/hyprland.nix +++ b/modules/user/hyprland.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, folder, swww_flags, inputs }: { +{ pkgs, lib, config, swww_flags, inputs }: { home.packages = with pkgs; [ ghostty pamixer @@ -20,6 +20,7 @@ from random import choice from os import system, listdir + folder = "${config.home.homeDirectory}/wallpapers" filename = choice(listdir(folder)) system(f"${lib.getExe pkgs.swww} img {folder}/{filename} ${swww_flags}") ''; diff --git a/user/common.nix b/user/common.nix index d67d531..084edbe 100644 --- a/user/common.nix +++ b/user/common.nix @@ -4,6 +4,8 @@ home-manager = { useGlobalPkgs = true; useUserPackages = true; + backupFileExtension = "rebuild"; + users.${name} = { imports = [ inputs.sops-nix.homeManagerModules.sops diff --git a/user/kirill/modules/hyprland.nix b/user/kirill/modules/hyprland.nix index 74a534d..bb209ca 100644 --- a/user/kirill/modules/hyprland.nix +++ b/user/kirill/modules/hyprland.nix @@ -5,7 +5,6 @@ inherit pkgs; inherit config; inherit inputs; - folder = "${config.home.homeDirectory}/wallpapers"; swww_flags = "--transition-type center"; } )];