clean up on muos

This commit is contained in:
Noa Aarts 2024-11-20 21:30:29 +01:00
parent d00f06890e
commit b707b1df5a
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -120,44 +120,10 @@
libnotify libnotify
playerctl playerctl
]; ];
xdg.configFile = xdg.configFile = {
let
spkgs = inputs.self.packages.${pkgs.system};
automapaper-configs = builtins.map (
display:
let
display-shader = pkgs.substituteAll {
src = ../../modules/automapaper/display-with_vars.glsl;
background = nix-colors.lib.conversions.hexToGLSLVec "101012";
foreground = nix-colors.lib.conversions.hexToGLSLVec "192291";
};
state-shader = ../../modules/automapaper/state-game_of_life.glsl;
init-shader = ../../modules/automapaper/init.glsl;
in
(import ../../modules/automapaper/config.nix {
inherit (pkgs) writeTextFile;
inherit
init-shader
state-shader
display-shader
display
;
horizontal = 225;
vertical = 150;
cycles = 2000;
})
) [ "eDP-1" ];
automapaper = lib.strings.concatMapStringsSep "\n" (
file:
''spawn-at-startup "${
inputs.automapaper.packages.${pkgs.system}.automapaper
}/bin/automapaper" "-C" "${file}/config.toml"''
) automapaper-configs;
in
{
"niri/config.kdl".source = import ../../packages/niri-config/default.nix { "niri/config.kdl".source = import ../../packages/niri-config/default.nix {
pkgs = pkgs; pkgs = pkgs;
self-pkgs = spkgs; self-pkgs = inputs.self.packages.${pkgs.system};
inputs = inputs; inputs = inputs;
displays = [ displays = [
{ {