feat: nixcloud config
This commit is contained in:
parent
634d7eb2e8
commit
959af7690d
12 changed files with 113 additions and 152 deletions
17
flake.nix
17
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue