This commit is contained in:
parent
eaf94d8277
commit
79014bf719
7 changed files with 30 additions and 16 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -344,7 +344,8 @@
|
|||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nur": "nur",
|
||||
"nysh": "nysh"
|
||||
"nysh": "nysh",
|
||||
"wallpapers": "wallpapers"
|
||||
}
|
||||
},
|
||||
"snowfall-lib": {
|
||||
|
@ -400,6 +401,21 @@
|
|||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wallpapers": {
|
||||
"locked": {
|
||||
"lastModified": 1740422160,
|
||||
"narHash": "sha256-nHQOBJU/ZXnhHeOIv1InIjCKeFjnHZshGj/BcCdRjnQ=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "f7857fa316d70847b02dc266099ce2b4eb10f5ea",
|
||||
"revCount": 3,
|
||||
"type": "git",
|
||||
"url": "https://git.ccnlc.eu/nydragon/wallpapers.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.ccnlc.eu/nydragon/wallpapers.git"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
url = "git+https://git.ccnlc.eu/nydragon/nur.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
wallpapers.url = "git+https://git.ccnlc.eu/nydragon/wallpapers.git";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -1,24 +1,20 @@
|
|||
{
|
||||
self,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.my) getExe';
|
||||
in
|
||||
{
|
||||
systemd.user.services.swww = {
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
Unit.After = [ "graphical-session.target" ];
|
||||
|
||||
Unit = {
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.swww}/bin/swww-daemon";
|
||||
ExecStartPost = "${pkgs.swww}/bin/swww img ${
|
||||
self + "/assets/landscape-pink-pastel.jpg"
|
||||
} -t wipe --transition-fps 144";
|
||||
|
||||
ExecStart = getExe' pkgs.swww "swww-daemon";
|
||||
Restart = "on-failure";
|
||||
BindPaths = "/run/user /home/${config.home.username}/.cache/swww";
|
||||
TemporaryFileSystem = "/home /run/user /root";
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ self, ... }:
|
||||
{ inputs, ... }:
|
||||
{
|
||||
services.hyprpaper = {
|
||||
enable = false;
|
||||
settings =
|
||||
let
|
||||
wp = "${self}/assets/wallpapers/nix-flake-pastel.jpg";
|
||||
wp = inputs.wallpapers.wallpapers.pastel.nix-flake-pastel.path;
|
||||
in
|
||||
{
|
||||
ipc = "on";
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
fish.enable = true;
|
||||
firefox.enable = true;
|
||||
thunderbird.enable = true;
|
||||
sway.enable = true;
|
||||
hyprland.enable = true;
|
||||
pulseview.enable = true;
|
||||
gnupg.agent = {
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
environment.sessionVariables = {
|
||||
MANROFFOPT = "-c";
|
||||
MANPAGER = "sh -c 'col -bx | ${pkgs.bat}/bin/bat -l man -p'";
|
||||
WALLPAPERS = "${inputs.wallpapers}";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
self,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.services.displayManager.sddm.enable {
|
||||
|
@ -18,7 +18,7 @@ lib.mkIf config.services.displayManager.sddm.enable {
|
|||
flavor = "mocha";
|
||||
font = "Noto Sans";
|
||||
fontSize = "9";
|
||||
background = "${self}/assets/wallpapers/nix-flake-pastel.jpg";
|
||||
background = inputs.wallpapers.wallpapers.pastel.nix-flake-pastel.path;
|
||||
loginBackground = true;
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue