add desktop host

Former-commit-id: e3e5be7b73
This commit is contained in:
Hadi
2024-12-05 23:03:57 +01:00
parent 792970dc7f
commit fb75ecc61d
8 changed files with 260 additions and 1 deletions

View File

@@ -41,7 +41,8 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
zen-browser.url = "git+https://git.sr.ht/~canasta/zen-browser-flake/"; # updated flake
zen-browser.url =
"git+https://git.sr.ht/~canasta/zen-browser-flake/"; # updated flake
};
outputs = inputs@{ nixpkgs, ... }: {
@@ -62,6 +63,19 @@
./hosts/laptop/configuration.nix # CHANGEME: change the path to match your host folder
];
};
desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
nixpkgs.overlays = [ inputs.hyprpanel.overlay inputs.nur.overlay ];
_module.args = { inherit inputs; };
}
inputs.home-manager.nixosModules.home-manager
inputs.stylix.nixosModules.stylix
./hosts/desktop/configuration.nix
];
};
};
};
}