fdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflkfdølkjsdølkhsadkjfhalkjfhalkdjhflksahflakjshflkajsdhflkajhfdlkjashdflk
This commit is contained in:
parent
0e37004674
commit
b9ff0eed86
@ -320,7 +320,7 @@
|
||||
in {
|
||||
# TODO: get faketty to work ${expect}/bin/unbuffer is bad
|
||||
nixos-rebuild-nom = pkgs.writeScriptBin "nixos-rebuild" ''
|
||||
if test -t 1 || test -z "''${NIX_NO_NOM-}"; then
|
||||
if test -t 1 && test -z "''${NIX_NO_NOM-}"; then
|
||||
exec ${lib.getExe pkgs.nixos-rebuild} "$@" -L |& ${lib.getExe pkgs.nix-output-monitor}
|
||||
else
|
||||
exec ${lib.getExe pkgs.nixos-rebuild} "$@" -L
|
||||
|
@ -23,6 +23,8 @@
|
||||
];
|
||||
#services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
||||
|
||||
nix.settings.max-jobs = 0; # remotes only lol, nspawn container has broken sandbox
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh.ports = lib.mkForce [ 2222 ];
|
||||
networking.firewall.allowedTCPPorts = [ 2222 ];
|
||||
|
@ -81,6 +81,12 @@ ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGDuWdqEQ5mmVjuKi6f/Q
|
||||
["bjarte.pbsds.net"]
|
||||
ssh.userPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4v1+FbiEa6Mohpf3/Una5ahKeKSG9yZ9iU5TC7ddL5 root@bjarte"
|
||||
|
||||
["brumlebasse.pbsds.net"]
|
||||
ssh.listenUser = "root"
|
||||
ssh.listenPort = 2222
|
||||
ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILD7+tE6rm742fz+nqa3+zlglMuzCzOQlc0OSJssvgVL"
|
||||
ssh.userPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJVohqGMKp/UEZtb71RSBBXOEGX4o3lN5GYBlP7HEKbs root@brumlebasse"
|
||||
|
||||
["isvegg.pvv.ntnu.no"]
|
||||
# maxJobs = 1 # 4 threads 16GB
|
||||
speedFactor = 1
|
||||
|
7
justfile
7
justfile
@ -40,13 +40,18 @@ switch:
|
||||
boot:
|
||||
sudo nixos-rebuild boot --accept-flake-config --show-trace --flake .
|
||||
|
||||
boot-and-reboot:
|
||||
sudo nixos-rebuild boot --accept-flake-config --show-trace --flake .
|
||||
sudo reboot
|
||||
|
||||
build-vm:
|
||||
sudo nixos-rebuild build-vm --accept-flake-config --show-trace --flake .
|
||||
|
||||
push hostname=`just _a_host` cmd=`gum choose test switch boot --header "Select mode..."`:
|
||||
nixos-rebuild build --flake .#{{hostname}}
|
||||
@echo pushing...
|
||||
NIX_NO_NOM=1 NIX_SSHOPTS="-tt" nixos-rebuild {{cmd}} --flake .#{{hostname}} --use-remote-sudo --target-host $(nix eval .#nixosReports.{{hostname}}.fqdn --json | jq . -r) --use-substitutes
|
||||
NIX_NO_NOM=1 nixos-rebuild {{cmd}} --flake .#{{hostname}} --target-host root@$(nix eval .#nixosConfigurations.{{hostname}}.config.networking.fqdn --json | jq . -r) --use-substitutes
|
||||
#NIX_NO_NOM=1 NIX_SSHOPTS="-tt" nixos-rebuild {{cmd}} --flake .#{{hostname}} --use-remote-sudo --target-host $(nix eval .#nixosReports.{{hostname}}.fqdn --json | jq . -r) --use-substitutes
|
||||
|
||||
inspect:
|
||||
nix run -- nixpkgs#nix-inspect -p .
|
||||
|
@ -80,16 +80,17 @@
|
||||
|
||||
librespeed-cli
|
||||
|
||||
cachix
|
||||
#nix-template
|
||||
/* cachix */
|
||||
/* nix-template */
|
||||
nix-output-monitor
|
||||
(pkgs.nix-inspect or unstable.nix-inspect)
|
||||
unstable.nixpkgs-review
|
||||
unstable.nixpkgs-hammering
|
||||
unstable.nix-update
|
||||
unstable.nix-init
|
||||
unstable.deadnix
|
||||
unstable.statix
|
||||
unstable.nixtract
|
||||
/* unstable.nixtract */
|
||||
unstable.nixfmt-rfc-style
|
||||
nurl
|
||||
manix
|
||||
|
@ -30,6 +30,8 @@
|
||||
|
||||
libreoffice
|
||||
|
||||
gitg
|
||||
|
||||
remote-exec
|
||||
|
||||
(pkgs.zxtune or unstable.zxtune or null)
|
||||
|
Loading…
Reference in New Issue
Block a user