diff --git a/devshells/visonum.nix b/devshells/visonum.nix index 004d0fc..b8a6c88 100644 --- a/devshells/visonum.nix +++ b/devshells/visonum.nix @@ -1,5 +1,6 @@ # Shell containing the tools I most commonly use for work { pkgs, inputs }: +let unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; in pkgs.mkShell { - nativeBuildInputs = with pkgs; [ purescript spago typescript nodejs ]; + nativeBuildInputs = with pkgs; [ unstable.purescript unstable.spago typescript nodejs ]; } diff --git a/hosts/nixos/euoprie/configuration.nix b/hosts/nixos/euoprie/configuration.nix new file mode 100644 index 0000000..92a9b08 --- /dev/null +++ b/hosts/nixos/euoprie/configuration.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: { + # Enable the firewall. + networking.firewall.enable = true; + + # Set the name of this machine! + networking.hostName = "euporie"; + + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion + system.stateVersion = "22.11"; + + + services.sourcehut = { + # enable = true; + # meta.enable = true; + # paste.enable = true; + # hub.enable = true; + }; +} diff --git a/hosts/nixos/euoprie/default.nix b/hosts/nixos/euoprie/default.nix new file mode 100644 index 0000000..db4e2e5 --- /dev/null +++ b/hosts/nixos/euoprie/default.nix @@ -0,0 +1,7 @@ +{ + privateNetwork = true; + hostAddress = "10.250.0.1"; + localAddress = "10.250.0.2"; + + config = import ./configuration.nix; +} diff --git a/hosts/nixos/tethys/default.nix b/hosts/nixos/tethys/default.nix index c447a31..6870a8d 100644 --- a/hosts/nixos/tethys/default.nix +++ b/hosts/nixos/tethys/default.nix @@ -23,4 +23,11 @@ # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "22.11"; + + # Temp stuff: + containers.euporie = import ../euoprie; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; }