feat: nixcloud config

This commit is contained in:
Thiago Sposito 2025-10-17 18:13:29 -03:00
parent 634d7eb2e8
commit 959af7690d
Signed by: thiago
GPG key ID: 3065EA73A976D430
12 changed files with 113 additions and 152 deletions

View file

@ -17,7 +17,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "git+https://git.sr.ht/~sposito/sops-nix";
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
secrets = {
@ -48,6 +48,7 @@
./hosts/Nixbook
];
};
Nixstation = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
@ -57,6 +58,16 @@
./hosts/Nixstation
];
};
Nixcloud = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
allowUnfree = false;
};
modules = [
./hosts/Nixcloud
];
};
};
homeConfigurations = {
@ -96,6 +107,10 @@
name = "nixstation";
path = self.nixosConfigurations.Nixstation.config.system.build.toplevel;
}
{
name = "nixcloud";
path = self.nixosConfigurations.Nixcloud.config.system.build.toplevel;
}
{
name = "hm-nixbook";
path = self.homeConfigurations."thiago@Nixbook".activationPackage;