Refactored home-manager to system and added hyprland

Added hyprland

Added some wayland configs
This commit is contained in:
fwastring 2025-09-06 09:58:46 +02:00
parent b211d24b69
commit 72dafab57f
10 changed files with 747 additions and 335 deletions

View file

@ -17,6 +17,7 @@ in
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
../../config/users.nix
../../config/network.nix
../../config/programs.nix
@ -24,8 +25,16 @@ in
../../config/dev.nix
../../config/lsp.nix
../../config/sway.nix
../../config/hyprland.nix
];
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.fw = {
imports = [
./../../config/home.nix
];
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -56,6 +65,11 @@ fonts.packages = with pkgs; [
};
};
environment.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) (