Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- description = "Ava's NixOS configuration";
- inputs = {
- /* ---------------- Official NixOS and HM Package Sources --------------- */
- nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
- home-manager = {
- url = "github:nix-community/home-manager/release-24.05";
- inputs.nixpkgs.follows = "nixpkgs";
- };
- /* ------------------------------ Utilities ----------------------------- */
- # Declarative KDE Plasma configuration
- plasma-manager = {
- url = "github:nix-community/plasma-manager";
- inputs.nixpkgs.follows = "nixpkgs";
- inputs.home-manager.follows = "home-manager";
- };
- # System-wide colorscheming and typography
- stylix = {
- url = "github:danth/stylix";
- inputs.nixpkgs.follows = "nixpkgs";
- };
- };
- outputs = { self, nixpkgs, home-manager, plasma-manager, stylix, ... } @ inputs:
- let
- inherit (self) outputs;
- inherit (nixpkgs) lib;
- configLib = import ./lib { inherit lib; };
- specialArgs = { inherit inputs outputs configLib nixpkgs; plasma-manager = inputs.plasma-manager; };
- system = "x86_64-linux";
- in
- {
- packages.${system} = (
- let pkgs = nixpkgs.legacyPackages.${system};
- in import ./pkgs { inherit pkgs; }
- );
- nixosConfigurations = {
- # Desktop
- baron = nixpkgs.lib.nixosSystem {
- inherit specialArgs;
- system = "x86_64-linux";
- modules = [
- home-manager.nixosModules.home-manager {
- home-manager.extraSpecialArgs = specialArgs;
- }
- inputs.stylix.nixosModules.stylix
- ./hosts/baron
- ];
- };
- };
- };
- }
Add Comment
Please, Sign In to add comment