1773267079

This commit is contained in:
2026-03-11 16:11:19 -06:00
parent 14c39cd025
commit 0bd86a067f
7 changed files with 47 additions and 32 deletions
+24 -18
View File
@@ -9,16 +9,16 @@
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmic-manager = {
url = "github:HeitorAugustoLN/cosmic-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
outputs =
{
self,
nixpkgs,
nixpkgs-unstable,
home-manager,
...
}@inputs:
let
settings = import ./settings.nix;
system = "x86_64-linux";
@@ -28,15 +28,21 @@
config.allowUnfree = true;
};
};
in {
nixosConfigurations."${settings.hostname}" = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./configuration.nix
home-manager.nixosModules.home-manager
];
in
{
nixosConfigurations."${settings.hostname}" = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
(
{ ... }:
{
nixpkgs.overlays = [ overlay-unstable ];
}
)
./configuration.nix
home-manager.nixosModules.home-manager
];
};
};
};
}