lock flake
fix unlocked flake error on new install
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
images = pkgs.callPackage ../images { };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./cursor.nix
|
||||
@@ -36,5 +39,5 @@
|
||||
};
|
||||
|
||||
# ── Icon for Lock & Loginscreen ───────────────────────────────────────
|
||||
xdg.configFile.".face.icon".source = inputs.images + /face.icon;
|
||||
xdg.configFile.".face.icon".source = "${images.face}";
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ inputs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
variables = {
|
||||
@@ -12,6 +12,7 @@ let
|
||||
yellow = "rgb(f9e2af)";
|
||||
font = "Fira Code";
|
||||
};
|
||||
images = pkgs.callPackage ../images { };
|
||||
in
|
||||
{
|
||||
# ── Hyprlock ──────────────────────────────────────────────────────────
|
||||
@@ -24,7 +25,7 @@ in
|
||||
|
||||
background = {
|
||||
monitor = "";
|
||||
path = "${inputs.images}/lockpaper.png";
|
||||
path = "${images.lock}";
|
||||
blur_passes = 0;
|
||||
color = variables.base;
|
||||
};
|
||||
@@ -69,7 +70,7 @@ in
|
||||
|
||||
image = {
|
||||
monitor = "";
|
||||
path = "${inputs.images}/face.icon";
|
||||
path = "${images.face}";
|
||||
size = 100;
|
||||
border_color = variables.accent;
|
||||
position = "0, 75";
|
||||
|
||||
16
home/themes/images/default.nix
Normal file
16
home/themes/images/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
lock = builtins.path {
|
||||
path = ./lockpaper.png;
|
||||
name = "lockpaper";
|
||||
};
|
||||
face = builtins.path {
|
||||
path = ./face.icon;
|
||||
name = "face";
|
||||
};
|
||||
background = builtins.path {
|
||||
path = ./wallpaper.jpeg;
|
||||
name = "wallpaper";
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,12 @@
|
||||
{ inputs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
images = pkgs.callPackage ./images { };
|
||||
in
|
||||
{
|
||||
services.wpaperd = {
|
||||
enable = true;
|
||||
|
||||
settings.any.path = "${inputs.images}/wallpaper.jpeg"; # TODO: change wallpaper / make automatic pull from some website? -> animals and fallback to something if no iternet
|
||||
settings.any.path = "${images.background}"; # TODO: change wallpaper / make automatic pull from some website? -> animals and fallback to something if no iternet
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user