Updated emacs to wayland

This commit is contained in:
Aleksandr Lebedev 2025-01-27 07:49:58 +01:00
parent fa1edc0995
commit 6b248c9097
4 changed files with 64 additions and 38 deletions

View file

@ -7,19 +7,33 @@
username,
inputs,
...
}: let
in {
}:
let
in
{
imports =
[
./modules/fastfetch
./modules/tmux/home.nix
]
++ lib.optional (hwconfig.useImpermanence) (import ./modules/impermanence/home.nix {
inherit username;
inherit inputs;
})
++ lib.optional (config.programs.hyprland.enable) ./modules/hyprland/home.nix
++ lib.optional (builtins.pathExists ./homes/${username}) (import ./homes/${username} {inherit username;});
++ lib.optional (hwconfig.useImpermanence) (
import ./modules/impermanence/home.nix {
inherit username;
inherit inputs;
}
)
++ lib.optional (config.programs.hyprland.enable) (
import ./modules/hyprland/home.nix {
inherit pkgs;
inherit username;
inherit inputs;
inherit hwconfig;
inherit lib;
}
)
++ lib.optional (builtins.pathExists ./homes/${username}) (
import ./homes/${username} { inherit username; }
);
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = username;