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; [
|
home.packages = with pkgs; [
|
||||||
ghostty
|
ghostty
|
||||||
pamixer
|
pamixer
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
from random import choice
|
from random import choice
|
||||||
from os import system, listdir
|
from os import system, listdir
|
||||||
|
|
||||||
|
folder = "${config.home.homeDirectory}/wallpapers"
|
||||||
filename = choice(listdir(folder))
|
filename = choice(listdir(folder))
|
||||||
system(f"${lib.getExe pkgs.swww} img {folder}/{filename} ${swww_flags}")
|
system(f"${lib.getExe pkgs.swww} img {folder}/{filename} ${swww_flags}")
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
backupFileExtension = "rebuild";
|
||||||
|
|
||||||
users.${name} = {
|
users.${name} = {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit config;
|
inherit config;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
folder = "${config.home.homeDirectory}/wallpapers";
|
|
||||||
swww_flags = "--transition-type center";
|
swww_flags = "--transition-type center";
|
||||||
}
|
}
|
||||||
)];
|
)];
|
||||||
|
|||||||
Reference in new issue
Block a user