This commit is contained in:
1 parent
715bf6140f
commit
3893fb6078
5 files changed
+40
-31
No files matched your search
@@ -8,7 +8,6 @@
|
||||
|
||||
let
|
||||
meta = import ./meta.nix;
|
||||
wolInterfaces = import ./wol-interfaces.nix;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -88,10 +87,7 @@ in
|
||||
};
|
||||
tailscale.enable = true;
|
||||
taskwarrior.enable = true;
|
||||
wol = {
|
||||
enable = true;
|
||||
interfaces.eno1 = { inherit (wolInterfaces.eno1) macAddress; };
|
||||
};
|
||||
wol.interfaces.eno1.macAddress = "02:68:b3:29:da:98";
|
||||
zfs.enable = true;
|
||||
|
||||
disko.devices = {
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
eno1.macAddress = "02:68:b3:29:da:98";
|
||||
}
|
||||
@@ -71,6 +71,7 @@ in
|
||||
};
|
||||
};
|
||||
taskwarrior.enable = true;
|
||||
wol.wakes = [ "andromache" ];
|
||||
zfs.enable = true;
|
||||
|
||||
secrets.nixSigningKey.enable = true;
|
||||
@@ -82,16 +83,6 @@ in
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.writeShellApplication {
|
||||
name = "wol-andromache";
|
||||
runtimeInputs = [ pkgs.wakeonlan ];
|
||||
text = ''
|
||||
wakeonlan ${(import ../andromache/wol-interfaces.nix).eno1.macAddress}
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostId = "5f0bde3c";
|
||||
useDHCP = false;
|
||||
|
||||
@@ -16,6 +16,7 @@ in
|
||||
|
||||
ssh.enable = true;
|
||||
tailscale.enable = true;
|
||||
wol.wakes = [ "andromache" ];
|
||||
|
||||
boot = {
|
||||
kernelParams = [
|
||||
|
||||
Reference in new issue
Block a user