flake: Added Zephyrus host config to outputs

This commit is contained in:
GaspardCulis 2024-09-20 11:36:27 +00:00
parent 4ef0d277ed
commit 9dbb7bd995

View file

@ -8,6 +8,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
disko = {
url = "github:nix-community/disko/make-disk-image";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hyprland # Hyprland
hyprland = { hyprland = {
url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
@ -21,6 +26,7 @@
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
disko,
home-manager, home-manager,
hy3, hy3,
... ...
@ -28,6 +34,15 @@
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
nixosConfigurations = {
Zephyrus = nixpkgs.lib.nixosSystem {
modules = [
./hosts/Zephyrus
disko.nixosModules.disko
];
};
};
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration { homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;