feat: replace backgrounds by elementary wallpapers
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 512 KiB |
|
Before Width: | Height: | Size: 653 KiB |
|
Before Width: | Height: | Size: 325 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 477 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
BIN
art/file.jpeg
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 2.5 MiB |
|
Before Width: | Height: | Size: 345 KiB |
|
Before Width: | Height: | Size: 210 KiB |
@@ -1,8 +1,14 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
services.random-background = {
|
services.random-background = {
|
||||||
enable = true;
|
enable = true;
|
||||||
imageDirectory = toString <art>;
|
imageDirectory = toString (pkgs.fetchFromGitHub {
|
||||||
|
owner = "elementary";
|
||||||
|
repo = "wallpapers";
|
||||||
|
rev = "6c81141e33ef69702a3f48e7181cb979a680190d"; # tag: 5.4
|
||||||
|
sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
|
||||||
|
});
|
||||||
interval = "2h";
|
interval = "2h";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
10
deploy.nix
@@ -33,9 +33,9 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
regularSystem = path: name: extras: {
|
regularSystem = path: name: {
|
||||||
source = lib.evalSource [
|
source = lib.evalSource [
|
||||||
(niveum // extras // {
|
(niveum // {
|
||||||
system.file = toString path;
|
system.file = toString path;
|
||||||
secrets.pass = {
|
secrets.pass = {
|
||||||
dir = toString ~/.password-store/systems;
|
dir = toString ~/.password-store/systems;
|
||||||
@@ -50,9 +50,9 @@ let
|
|||||||
target = "root@${name}:22022";
|
target = "root@${name}:22022";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
scardanelli = pkgs.krops.writeDeploy "deploy-scardanelli" (regularSystem systems/scardanelli "scardanelli" { art.file = toString ./art; });
|
scardanelli = pkgs.krops.writeDeploy "deploy-scardanelli" (regularSystem systems/scardanelli "scardanelli");
|
||||||
homeros = pkgs.krops.writeDeploy "deploy-homeros" (regularSystem systems/homeros "homeros" { art.file = toString ./art; });
|
homeros = pkgs.krops.writeDeploy "deploy-homeros" (regularSystem systems/homeros "homeros");
|
||||||
wilde = pkgs.krops.writeDeploy "deploy-wilde" (regularSystem systems/wilde "wilde" { art.file = toString ./art; });
|
wilde = pkgs.krops.writeDeploy "deploy-wilde" (regularSystem systems/wilde "wilde");
|
||||||
|
|
||||||
catullus = pkgs.krops.writeDeploy "deploy-catullus" (regularSystem systems/catullus "catullus" {});
|
catullus = pkgs.krops.writeDeploy "deploy-catullus" (regularSystem systems/catullus "catullus" {});
|
||||||
}
|
}
|
||||||
|
|||||||