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,56 +120,22 @@
libnotify libnotify
playerctl playerctl
]; ];
xdg.configFile = xdg.configFile = {
let "niri/config.kdl".source = import ../../packages/niri-config/default.nix {
spkgs = inputs.self.packages.${pkgs.system}; pkgs = pkgs;
automapaper-configs = builtins.map ( self-pkgs = inputs.self.packages.${pkgs.system};
display: inputs = inputs;
let displays = [
display-shader = pkgs.substituteAll { {
src = ../../modules/automapaper/display-with_vars.glsl; name = "eDP-1";
background = nix-colors.lib.conversions.hexToGLSLVec "101012"; horizontal-resolution = 2256;
foreground = nix-colors.lib.conversions.hexToGLSLVec "192291"; horizontal-position = 0;
}; vertical-resolution = 1504;
state-shader = ../../modules/automapaper/state-game_of_life.glsl; framerate = "59.999";
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 {
pkgs = pkgs;
self-pkgs = spkgs;
inputs = inputs;
displays = [
{
name = "eDP-1";
horizontal-resolution = 2256;
horizontal-position = 0;
vertical-resolution = 1504;
framerate = "59.999";
}
];
};
}; };
};
}; };
}; };
"root" = import ./root.nix; "root" = import ./root.nix;