feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
Showing only changes of commit 9dbb7bd995 - Show all commits

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;