Broken fix
This commit is contained in:
1 parent
94c8ac4bca
commit
70e855ccc7
3 files changed
+4
-2
No files matched your search
@@ -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}")
|
||||
'';
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "rebuild";
|
||||
|
||||
users.${name} = {
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
inherit inputs;
|
||||
folder = "${config.home.homeDirectory}/wallpapers";
|
||||
swww_flags = "--transition-type center";
|
||||
}
|
||||
)];
|
||||
|
||||
Reference in new issue
Block a user