home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the top-level directory.
This commit is contained in:
parent
c856933803
commit
65a8f7c481
119 changed files with 2 additions and 2 deletions
23
modules/home/wm/cursor/default.nix
Normal file
23
modules/home/wm/cursor/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.home.wm.cursor;
|
||||
|
||||
cfg_x = config.my.home.x;
|
||||
cfg_gtk = config.my.home.gtk;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.pointerCursor = {
|
||||
package = pkgs.ambroisie.vimix-cursors;
|
||||
name = "Vimix-cursors";
|
||||
|
||||
x11 = {
|
||||
inherit (cfg_x) enable;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
inherit (cfg_gtk) enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue