rearrange directory structure

This commit is contained in:
Tristan 2024-01-05 21:53:27 +00:00
parent 2fe0f94a23
commit 67cb4995f9
33 changed files with 213 additions and 219 deletions

View file

@ -1,48 +0,0 @@
{user}: {
lib,
pkgs,
config,
...
}:
with lib; let
cfg = config.roles.laptop;
in {
options.roles = {
laptop = {
enable = mkEnableOption "is a laptop";
displays = mkEnableOption "laptop display defaults";
};
};
config = mkIf cfg.enable {
displays = mkIf cfg.displays {
enable = true;
displays.internal = {
name = "eDP-1";
scaling = 1.2;
};
};
keyboard.dvorak.enable = true;
home-manager.users.${user}.imports = [
{
wayland.windowManager.hyprland = {
settings = {
general = {
gaps_out = 10;
border_size = 3;
};
bind = [
"SUPER_SHIFT, Q, killactive,"
];
"device:at-translated-set-2-keyboard" = {
kb_variant = ",dvorak";
kb_layout = "gb,gb";
kb_options = "grp:alt_shift_toggle,caps:escape";
};
};
};
}
];
};
}