lock flake
fix unlocked flake error on new install
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
{ inputs, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
images = pkgs.callPackage ./home/themes/images { };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
# Importing necessary setup for Steam & Printing & Flutter.
|
# Importing necessary setup for Steam & Printing & Flutter.
|
||||||
imports = [
|
imports = [
|
||||||
@@ -101,7 +104,7 @@
|
|||||||
accent = "pink";
|
accent = "pink";
|
||||||
font = "Fira Code";
|
font = "Fira Code";
|
||||||
fontSize = "9";
|
fontSize = "9";
|
||||||
background = "${inputs.images}/lockpaper.png";
|
background = "${images.lock}";
|
||||||
loginBackground = true;
|
loginBackground = true;
|
||||||
userIcon = true;
|
userIcon = true;
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
images = pkgs.callPackage ../images { };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./cursor.nix
|
./cursor.nix
|
||||||
@@ -36,5 +39,5 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# ── Icon for Lock & Loginscreen ───────────────────────────────────────
|
# ── 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
|
let
|
||||||
variables = {
|
variables = {
|
||||||
@@ -12,6 +12,7 @@ let
|
|||||||
yellow = "rgb(f9e2af)";
|
yellow = "rgb(f9e2af)";
|
||||||
font = "Fira Code";
|
font = "Fira Code";
|
||||||
};
|
};
|
||||||
|
images = pkgs.callPackage ../images { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# ── Hyprlock ──────────────────────────────────────────────────────────
|
# ── Hyprlock ──────────────────────────────────────────────────────────
|
||||||
@@ -24,7 +25,7 @@ in
|
|||||||
|
|
||||||
background = {
|
background = {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "${inputs.images}/lockpaper.png";
|
path = "${images.lock}";
|
||||||
blur_passes = 0;
|
blur_passes = 0;
|
||||||
color = variables.base;
|
color = variables.base;
|
||||||
};
|
};
|
||||||
@@ -69,7 +70,7 @@ in
|
|||||||
|
|
||||||
image = {
|
image = {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "${inputs.images}/face.icon";
|
path = "${images.face}";
|
||||||
size = 100;
|
size = 100;
|
||||||
border_color = variables.accent;
|
border_color = variables.accent;
|
||||||
position = "0, 75";
|
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 = {
|
services.wpaperd = {
|
||||||
enable = true;
|
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