Started euoporie and updated visonum devshell to use latest purs
This commit is contained in:
parent
14e31715ee
commit
ec83ebd15f
|
@ -1,5 +1,6 @@
|
||||||
# Shell containing the tools I most commonly use for work
|
# Shell containing the tools I most commonly use for work
|
||||||
{ pkgs, inputs }:
|
{ pkgs, inputs }:
|
||||||
|
let unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [ purescript spago typescript nodejs ];
|
nativeBuildInputs = with pkgs; [ unstable.purescript unstable.spago typescript nodejs ];
|
||||||
}
|
}
|
||||||
|
|
18
hosts/nixos/euoprie/configuration.nix
Normal file
18
hosts/nixos/euoprie/configuration.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
7
hosts/nixos/euoprie/default.nix
Normal file
7
hosts/nixos/euoprie/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
privateNetwork = true;
|
||||||
|
hostAddress = "10.250.0.1";
|
||||||
|
localAddress = "10.250.0.2";
|
||||||
|
|
||||||
|
config = import ./configuration.nix;
|
||||||
|
}
|
|
@ -23,4 +23,11 @@
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
||||||
|
# Temp stuff:
|
||||||
|
containers.euporie = import ../euoprie;
|
||||||
|
programs.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue