added raspi sd card image.
This commit is contained in:
parent
d3a7b90d6d
commit
3153a2314d
7 changed files with 120 additions and 12 deletions
|
@ -17,7 +17,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
../../configs/nixos/common.nix
|
||||
../../configs/nixos/tailscale.nix
|
||||
../../configs/nixos/sshd.nix
|
||||
../../configs/nixos/secrets.nix
|
||||
# ../../configs/nixos/secrets.nix
|
||||
../../configs/nixos/radicale.nix
|
||||
../../configs/nixos/forgejo.nix
|
||||
({
|
||||
|
|
|
@ -10,34 +10,31 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-3
|
||||
|
||||
../../configs/nixos/common.nix
|
||||
../../configs/nixos/sshd.nix
|
||||
../../configs/nixos/secrets.nix
|
||||
# ../../configs/nixos/secrets.nix
|
||||
../../configs/nixos/tailscale.nix
|
||||
({
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
configLib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
];
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
host = {
|
||||
user = "gabe";
|
||||
fullName = "Gabe Venberg";
|
||||
};
|
||||
networking.hostName = "remotepi"; # Define your hostname.
|
||||
networking.hostName = "remotepi-karp"; # Define your hostname.
|
||||
networking.hostId = "8efd3e13";
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."TODO" = {
|
||||
name = "TODO";
|
||||
networks."eth0" = {
|
||||
name = "eth0";
|
||||
address = ["TODO"];
|
||||
gateway = ["TODO"];
|
||||
dns = ["1.1.1.1"];
|
||||
|
@ -97,7 +94,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
})
|
||||
];
|
||||
}
|
|
@ -14,7 +14,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
./adguard.nix
|
||||
../../configs/nixos/common.nix
|
||||
../../configs/nixos/sshd.nix
|
||||
../../configs/nixos/secrets.nix
|
||||
# ../../configs/nixos/secrets.nix
|
||||
../../configs/nixos/tailscale.nix
|
||||
({
|
||||
config,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue