diff --git a/flake.nix b/flake.nix index ec0e58c..a6e58ac 100644 --- a/flake.nix +++ b/flake.nix @@ -75,6 +75,13 @@ # avalon chrysalis = mkSystem [ ./hosts/chrysalis ./hardware/location/YOW ]; + kos-mos = mkSystem [ + ./hosts/kos-mos + ./hardware/alrest + ./hardware/location/YOW + waifud.nixosModules.x86_64-linux.waifud-runner + ]; + logos = mkSystem [ ./hosts/logos ./hardware/alrest @@ -132,6 +139,18 @@ }; }; + deploy.nodes.kos-mos = { + hostname = "192.168.2.32"; + sshUser = "root"; + fastConnection = true; + + profiles.system = { + user = "root"; + path = deploy-rs.lib.x86_64-linux.activate.nixos + self.nixosConfigurations.kos-mos; + }; + }; + deploy.nodes.ontos = { hostname = "192.168.2.34"; sshUser = "root"; diff --git a/hosts/kos-mos/configuration.nix b/hosts/kos-mos/configuration.nix index e59ba3a..3b33ece 100644 --- a/hosts/kos-mos/configuration.nix +++ b/hosts/kos-mos/configuration.nix @@ -3,39 +3,10 @@ { imports = [ ./maisem.nix ]; - services.corerad = { - enable = true; - settings = { - interfaces = [ - { - name = "virbr0"; - advertise = false; - prefix = [{ prefix = "fd69:420:e621:278a::/64"; }]; - } - { - name = "enp2s0"; - advertise = true; - prefix = [{ prefix = "fd69:420:e621::/64"; }]; - } - ]; - debug = { - address = "[::]:38177"; - prometheus = true; - }; - }; - }; - users.motd = builtins.readFile ./motd; environment.systemPackages = with pkgs; [ nodejs-14_x ]; services.tailscale.port = 15428; - # networking.interfaces."virbr0".ipv6.addresses = [{ - # address = "fda2:d982:1da2:278a::"; - # prefixLength = 64; - # }]; - - networking.interfaces."enp2s0".ipv6.addresses = [{ - address = "fd69:420:e621::fe34:97ff:fe0d:1ecd"; - prefixLength = 64; - }]; + networking.hostName = "kos-mos"; + networking.hostId = "472479d4"; }