Refactored home-manager to system and added hyprland
Added hyprland Added some wayland configs
This commit is contained in:
parent
b211d24b69
commit
72dafab57f
10 changed files with 747 additions and 335 deletions
|
@ -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; })) (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue