feat: init wallpapers, fix niri cursor

This commit is contained in:
jackjohn7 2026-03-27 00:21:23 -05:00
parent a0ef70743b
commit 556a7bfa38
43 changed files with 439 additions and 20 deletions

View file

@ -1,6 +1,9 @@
{ self, inputs, ... }: {
flake.nixosModules.niri = { pkgs, lib, config, ... }: {
imports = [ self.nixosModules.cursors ];
imports = [
self.nixosModules.cursors
self.nixosModules.wallpapers
];
options.niri-users = lib.mkOption {
type = lib.types.listOf lib.types.str;
@ -16,9 +19,12 @@
# Enable cursors for niri users
cursor-users = lib.mkDefault config.niri-users;
# Set wallpaper destination explicitly
wallpaper-destination = "Pictures/Wallpapers";
};
};
perSystem = { pkgs, lib, self', ... }: {
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
inherit pkgs;
@ -33,7 +39,12 @@
};
layout = {
gaps = 10;
gaps = 20;
};
cursor = {
xcursor-theme = "Bibata-Modern-Ice";
xcursor-size = 24;
};
binds = {