2024-04-23 19:06:12 -04:00
|
|
|
#commit
|
2024-04-21 19:57:10 -04:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
2024-05-03 18:49:17 -04:00
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
|
|
# let
|
2024-04-27 16:05:00 -04:00
|
|
|
# boxes = [
|
|
|
|
# "default"
|
|
|
|
# ];
|
|
|
|
# forAllSystems = nixpkgs.lib.genAttrs boxes;
|
|
|
|
# in
|
|
|
|
{
|
2024-05-03 18:49:17 -04:00
|
|
|
nixosConfigurations = {
|
2024-05-25 22:21:28 -04:00
|
|
|
desktop = nixpkgs.lib.nixosSystem {
|
2024-05-03 18:49:17 -04:00
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
./boxes/desktop/configuration.nix
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
|
|
# specialArgs = {inherit inputs;};
|
|
|
|
# modules = [
|
|
|
|
# ./boxes/desktop/configuration.nix
|
|
|
|
# inputs.home-manager.nixosModules.default
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
# cpkg = forAllSystems(system: import ./customPackages);
|
2024-04-21 19:57:10 -04:00
|
|
|
};
|
2024-04-27 16:05:00 -04:00
|
|
|
|
2024-04-21 19:57:10 -04:00
|
|
|
}
|