even more backups of things
This commit is contained in:
parent
b8d125d448
commit
630f9b0074
46 changed files with 1166 additions and 197 deletions
13
flake.nix
13
flake.nix
|
|
@ -13,9 +13,12 @@
|
|||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
microvm.url = "github:astro/microvm.nix";
|
||||
microvm.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-secrets.url = "git+ssh://forgejo@git.garage.systems/jml/nixos-secrets.git?shallow=1";
|
||||
#nixos-secrets.flake = false; # TODO: Why does flake need to be false?
|
||||
#nixos-secrets.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# https://nix.dev/tutorials/nix-language.html#named-attribute-set-argument
|
||||
outputs = inputs@{self, nixpkgs, nixos-hardware, home-manager, sops-nix, lanzaboote, disko, microvm, ...}:
|
||||
outputs = inputs@{self, nixpkgs, nixos-hardware, home-manager, sops-nix, lanzaboote, disko, microvm, nixos-secrets, ...}:
|
||||
let
|
||||
mkSystem = (import ./lib {
|
||||
inherit nixpkgs home-manager inputs;
|
||||
|
|
@ -31,8 +34,12 @@
|
|||
};
|
||||
lithium = mkSystem {
|
||||
hostname = "lithium";
|
||||
# extraModules = [ inputs.sops-nix.nixosModules.sops ];
|
||||
extraModules = [ microvm.nixosModules.host ];
|
||||
#specialArgs = {inherit inputs;};
|
||||
extraModules = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.nixos-secrets.nixosModules.private-config
|
||||
];
|
||||
#extraModules = [ microvm.nixosModules.host ];
|
||||
users = [
|
||||
"jml"
|
||||
"breakglass"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue