Browse Source

Cleanup hosts

main
parent
commit
778cf5fd60
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 42
      README.org
  2. 22
      flake.nix

42
README.org

@ -380,15 +380,9 @@ It's helpful to add the machine hostnames to the networking configuration, so I
#+BEGIN_SRC nix
networking.hosts = {
"192.168.3.105" = [ "gamingpc" ];
"192.168.3.136" = [ "acernitro" ];
"192.168.3.163" = [ "acernitro_" ];
"192.168.3.163" = [ "acernitro" ];
"192.168.3.182" = [ "raspberry" ];
"192.168.3.123" = [ "raspberry_" ];
"192.168.3.183" = [ "homecloud" ];
# "" = [ "homecloud_" ];
# "" = [ "zero-one" ];
# "" = [ "zero-two" ];
# "" = [ "android" ];
};
#+END_SRC
@ -881,40 +875,6 @@ Deploy this configuration with ~sudo nixos-rebuild switch --flake /etc/dotfiles/
}
#+END_SRC
** TODO Zero-One
TODO: Raspberry Pi Zero/Zero WH
#+NAME: host-zero-one
#+BEGIN_SRC nix
zero-one = nixpkgs.lib.nixosSystem {
system = "armv7l-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/zero-one
./modules/ssh.nix
./modules/flakes.nix
./modules/cachix.nix
];
};
#+END_SRC
** TODO Zero-Two
#+NAME: host-zero-two
#+BEGIN_SRC nix
zero-two = nixpkgs.lib.nixosSystem {
system = "armv7l-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/zero-two
./modules/ssh.nix
./modules/flakes.nix
./modules/cachix.nix
];
};
#+END_SRC
** TODO Android
This is my Samsung Galaxy S10+[fn:27] running Nix On Droid[fn:10] with the experimental support for Flakes being used to manage the configuration.

22
flake.nix

@ -103,26 +103,8 @@
./modules/cachix.nix
];
};
zero-one = nixpkgs.lib.nixosSystem {
system = "armv7l-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/zero-one
./modules/ssh.nix
./modules/flakes.nix
./modules/cachix.nix
];
};
zero-two = nixpkgs.lib.nixosSystem {
system = "armv7l-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/zero-two
./modules/ssh.nix
./modules/flakes.nix
./modules/cachix.nix
];
};
android = (inputs.nix-on-droid.lib.aarch64-linux.nix-on-droid {
config = ./hosts/android/nix-on-droid.nix;
}).activationPackage;

Loading…
Cancel
Save