🧱 switch to nixos-hardware for rpis
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
@@ -43,21 +43,10 @@
|
||||
openssh.enable = true;
|
||||
tailscale = {
|
||||
enable = true;
|
||||
extraSetFlags = [ "--webclient" ];
|
||||
};
|
||||
};
|
||||
|
||||
system = {
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "github:walkah/athens#${config.networking.hostName}";
|
||||
dates = "hourly";
|
||||
flags = [
|
||||
"--option"
|
||||
"tarball-ttl"
|
||||
"0"
|
||||
];
|
||||
};
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
raspberry-pi-nix,
|
||||
nixos-hardware,
|
||||
sops-nix,
|
||||
...
|
||||
}:
|
||||
@@ -23,7 +23,7 @@ let
|
||||
{ nixpkgs.hostPlatform = hostSystem; }
|
||||
]
|
||||
++ modules;
|
||||
specialArgs = { inherit raspberry-pi-nix sops-nix; };
|
||||
specialArgs = { inherit nixos-hardware sops-nix; };
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user