refactor: rewrite host specific home manager options
This commit is contained in:
parent
f63a44bfa0
commit
61685e8253
4 changed files with 27 additions and 2 deletions
BIN
hosts/luci/files/lockscreen.png
Normal file
BIN
hosts/luci/files/lockscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 146 KiB |
BIN
hosts/luci/files/wallpaper.png
Normal file
BIN
hosts/luci/files/wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
25
hosts/luci/includes/home-manager.nix
Normal file
25
hosts/luci/includes/home-manager.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
_:
|
||||||
|
{
|
||||||
|
## Specific host home manager configuration
|
||||||
|
wayland.windowManager.sway.config = {
|
||||||
|
input = {
|
||||||
|
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||||
|
xkb_layout = "us";
|
||||||
|
xkb_variant = "altgr-intl";
|
||||||
|
};
|
||||||
|
|
||||||
|
"2:7:SynPS/2_Synaptics_TouchPad" = {
|
||||||
|
"tap" = "enable";
|
||||||
|
"accel_profile" = "adaptive";
|
||||||
|
"dwt" = "enable";
|
||||||
|
"pointer_accel" = "0.3";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
output = {
|
||||||
|
"*" = {
|
||||||
|
bg = "${../files/wallpaper.png} center #000000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -55,8 +55,8 @@
|
||||||
../hosts/${hostname}/home-config.nix
|
../hosts/${hostname}/home-config.nix
|
||||||
../modules/home-manager/default.nix
|
../modules/home-manager/default.nix
|
||||||
] ++ lib.optional (
|
] ++ lib.optional (
|
||||||
builtins.pathExists ../home-manager/hosts/${hostname}.nix
|
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
||||||
) ../home-manager/hosts/${hostname}.nix;
|
) ../hosts/${hostname}/includes/home-manager.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue