File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- hostName = "sh .darksailor.dev" ;
2+ hostName = "mirai .darksailor.dev" ;
33 sshUser = "remotebuilder" ;
44 systems = [ "x86_64-linux" "aarch64-linux" ] ;
55 protocol = "ssh-ng" ;
Original file line number Diff line number Diff line change 11{
22 inputs ,
33 self ,
4+ deploy-rs ,
45 ...
56} : {
67 nodes = {
78 mirai = {
89 hostname = "mirai.darksailor.dev" ;
910 profiles . system = {
1011 sshUser = "fs0c131y" ;
11- path = inputs . deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . mirai ;
12+ path = deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . mirai ;
1213 user = "root" ;
1314 } ;
1415 } ;
1516 tsuba = {
1617 hostname = "tsuba.darksailor.dev" ;
1718 profiles . system = {
1819 sshUser = "servius" ;
19- path = inputs . deploy-rs . lib . aarch64-linux . activate . nixos self . nixosConfigurations . tsuba ;
20+ path = deploy-rs . lib . aarch64-linux . activate . nixos self . nixosConfigurations . tsuba ;
2021 user = "root" ;
2122 } ;
2223 } ;
2324 ryu = {
2425 hostname = "ryu" ;
2526 profiles . system = {
2627 sshUser = "servius" ;
27- path = inputs . deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . ryu ;
28+ path = deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . ryu ;
2829 user = "root" ;
2930 } ;
3031 } ;
3132 tako = {
3233 hostname = "tako.darksailor.dev" ;
3334 profiles . system = {
3435 sshUser = "servius" ;
35- path = inputs . deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . tako ;
36+ path = deploy-rs . lib . x86_64-linux . activate . nixos self . nixosConfigurations . tako ;
3637 user = "root" ;
3738 } ;
3839 } ;
4142 # interactiveSudo = true;
4243 # profiles.system = {
4344 # sshUser = "fs0c131y";
44- # path = inputs. deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.kuro;
45+ # path = deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.kuro;
4546 # user = "root";
4647 # };
4748 # };
5051 # interactiveSudo = true;
5152 # profiles.system = {
5253 # sshUser = "servius";
53- # path = inputs. deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.shiro;
54+ # path = deploy-rs.lib.aarch64-darwin.activate.darwin self.darwinConfigurations.shiro;
5455 # user = "root";
5556 # };
5657 # };
5758 # deck = {
5859 # hostname = "steamdeck";
5960 # profiles.system = {
6061 # sshUser = "deck";
61- # path = inputs. deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck;
62+ # path = deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck;
6263 # user = "deck";
6364 # };
6465 # };
Original file line number Diff line number Diff line change 399399 in {
400400 tsuba = mkImage nixos . tsuba ;
401401 } ;
402- deploy = import ./deploy.nix { inherit inputs self ; } ;
402+ deploy = import ./deploy.nix { inherit inputs self deploy-rs ; } ;
403+ checks = builtins . mapAttrs ( system : deployLib : deployLib . deployChecks self . deploy ) deploy-rs . lib ;
403404 inherit devices ;
404405 }
405406 // flake-utils . lib . eachDefaultSystem (
Original file line number Diff line number Diff line change 6565 bottom
6666 btop
6767 cachix
68- deploy-rs
68+ deploy-rs . deploy-rs
6969 dust
7070 fd
7171 file
Original file line number Diff line number Diff line change 6565 dates = "daily" ;
6666 options = "--delete-older-than 5d" ;
6767 } ;
68- package = pkgs . nixVersions . nix_2_31 ; # deploy-rs doesn't work with nix >= 2.32
68+ package = pkgs . nixVersions . latest ; # deploy-rs doesn't work with nix >= 2.32
6969 distributedBuilds = true ;
7070 } ;
7171
Original file line number Diff line number Diff line change 6767 dates = "daily" ;
6868 options = "--delete-older-than +5" ;
6969 } ;
70- package = pkgs . nixVersions . nix_2_31 ; # deploy-rs doesn't work with nix >= 2.32
70+ package = pkgs . nixVersions . latest ; # deploy-rs doesn't work with nix >= 2.32
7171 buildMachines = [
7272 ../../builders/tako.nix
7373 ../../builders/mirai.nix
Original file line number Diff line number Diff line change 6565 dates = "daily" ;
6666 options = "--delete-older-than 5d" ;
6767 } ;
68- package = pkgs . nixVersions . nix_2_31 ; # deploy-rs doesn't work with nix >= 2.32
68+ package = pkgs . nixVersions . latest ; # deploy-rs doesn't work with nix >= 2.32
6969 distributedBuilds = true ;
7070 } ;
7171
Original file line number Diff line number Diff line change 278278 anyrun-overlay
279279 catppuccinThemes
280280 csshacks
281+ inputs . deploy-rs . overlays . default
281282 inputs . nix-minecraft . overlay
282283 inputs . nur . overlays . default
283284 inputs . rust-overlay . overlays . default
You can’t perform that action at this time.
0 commit comments