feat: add hyprland

This commit is contained in:
2024-11-29 16:48:35 +05:00
parent 5848712d74
commit 8e7997b285
5 changed files with 655 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
};
outputs = {
@@ -12,7 +13,7 @@
nixpkgs,
home-manager,
...
}:
} @ inputs:
let
system = "x86_64-linux";
host = "rihla";
@@ -22,15 +23,16 @@
in {
nixosConfigurations = {
"${host}" = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./nixos/configuration.nix ];
inherit system;
modules = [ ./nixos/configuration.nix ];
specialArgs = { inherit inputs; };
};
};
homeConfigurations = {
"${user}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home-manager/home.nix ];
modules = [ ./home-manager/home.nix ];
};
};
};