a
This commit is contained in:
commit
2448f2fc1b
9 changed files with 285 additions and 0 deletions
21
flake.nix
Normal file
21
flake.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-unstable"; };
|
||||
#secrets = { url = "git+ssh://git@github.com/LavaDesu/flakes-secrets.git"; };
|
||||
secrets = { url = "github:LavaDesu/flakes-secrets"; };
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, secrets }: {
|
||||
nixosConfigurations."winter" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{
|
||||
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
}
|
||||
secrets.nixosModules.winter
|
||||
./cfg/winter/main.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue