Compare commits

...

5 commits

Author SHA1 Message Date
Nick
bd524a279c feat: added just command for remote server 2025-04-10 17:46:40 -05:00
Nick
d740ec81ac feat: added remote ip field 2025-04-10 17:46:25 -05:00
Nick
b6a8aef44c feat: added extra packages to elm template 2025-04-10 16:58:19 -05:00
Nick
2393951118 feat: added wireguard to laptop 2025-04-10 16:57:57 -05:00
Nick
03e2187d69 feat: added haskell highlighting 2025-04-10 16:57:41 -05:00
6 changed files with 20 additions and 2 deletions

View file

@ -60,6 +60,7 @@ let
domains = genOptions stringType "url"; domains = genOptions stringType "url";
dns = genOptions stringType "provider"; dns = genOptions stringType "provider";
localhost = genOptions stringType "address"; localhost = genOptions stringType "address";
remotehost = genOptions stringType "address";
email = genOptions stringType "address"; email = genOptions stringType "address";
sops = genOptions stringType "path"; sops = genOptions stringType "path";
paths = genOptions stringType "path"; paths = genOptions stringType "path";

View file

@ -23,4 +23,7 @@ in
address2 = "192.168.50.1"; # Router address2 = "192.168.50.1"; # Router
address3 = "192.168.50.0"; # Router address3 = "192.168.50.0"; # Router
}; };
remotehost = {
address0 = "24.76.173.0";
};
} }

View file

@ -6,9 +6,9 @@ with pkgs.vscode-extensions;
elmtooling.elm-ls-vscode elmtooling.elm-ls-vscode
esbenp.prettier-vscode esbenp.prettier-vscode
haskell.haskell haskell.haskell
justusadam.language-haskell
james-yu.latex-workshop james-yu.latex-workshop
bbenoist.nix bbenoist.nix
# jnoortheen.nix-ide
mattn.lisp mattn.lisp
mkhl.direnv mkhl.direnv
pkief.material-icon-theme pkief.material-icon-theme

View file

@ -40,6 +40,7 @@ in
sddm sddm
flatpak flatpak
xserver xserver
wireGuard
; ;
}; };
}; };

View file

@ -9,6 +9,7 @@ let
inherit (flake) self; inherit (flake) self;
inherit (flake.config.people) user0; inherit (flake.config.people) user0;
inherit (flake.config.machines) devices; inherit (flake.config.machines) devices;
inherit (flake.config.services) instances;
inherit (flake.config.people.users.${user0}) name paths; inherit (flake.config.people.users.${user0}) name paths;
hostname = config.networking.hostName; hostname = config.networking.hostName;
@ -71,7 +72,7 @@ in
in in
{ {
text = '' text = ''
rebuildboot: rebuildBoot:
nixos-rebuild boot --use-remote-sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace nixos-rebuild boot --use-remote-sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace
rebuild: rebuild:
@ -86,6 +87,9 @@ in
server: server:
ssh ${devices.ceres.ip.address0} ssh ${devices.ceres.ip.address0}
serverRemote:
ssh ${instances.web.remotehost.address0}
${deviceLogic.name}: ${deviceLogic.name}:
ssh ${deviceLogic.ip.address0} ssh ${deviceLogic.ip.address0}

View file

@ -15,6 +15,15 @@
sops sops
ssh-to-age ssh-to-age
nixfmt-rfc-style nixfmt-rfc-style
dhall
dhall-json
dhall-lsp-server
helix-gpt
libz
ngrep
stripe-cli
vscode-langservers-extracted
zlib
; ;
inherit (pkgs-stable.elmPackages) inherit (pkgs-stable.elmPackages)
elm elm