Compare commits
No commits in common. "2dae0ccb727437155cbeedff721c916994475258" and "c32af7eaf9fc188681cc5b533f0b347a247fa389" have entirely different histories.
2dae0ccb72
...
c32af7eaf9
5 changed files with 38 additions and 2 deletions
|
@ -14,7 +14,6 @@ jobs:
|
||||||
- pancake
|
- pancake
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- ubuntu-24.04-arm
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -210,6 +210,7 @@
|
||||||
{
|
{
|
||||||
nixpkgs.pkgs = pkgsFor "aarch64-linux";
|
nixpkgs.pkgs = pkgsFor "aarch64-linux";
|
||||||
}
|
}
|
||||||
|
disko.nixosModules.disko
|
||||||
inputs.nixos-hardware.nixosModules.raspberry-pi-3
|
inputs.nixos-hardware.nixosModules.raspberry-pi-3
|
||||||
./hosts/pancake
|
./hosts/pancake
|
||||||
./modules
|
./modules
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
"root"
|
"root"
|
||||||
"@wheel"
|
"@wheel"
|
||||||
];
|
];
|
||||||
|
trusted-public-keys = [ "central:uWhjva6m6dhC2hqNisjn2hXGvdGBs19vPkA1dPEuwFg=" ];
|
||||||
|
substituters = [ "https://cache.cything.io/central" ];
|
||||||
};
|
};
|
||||||
channel.enable = false;
|
channel.enable = false;
|
||||||
optimise = {
|
optimise = {
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
../common.nix
|
../common.nix
|
||||||
|
./disk-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../zsh.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
# network stuff
|
# network stuff
|
||||||
networking.hostName = "pancake";
|
networking.hostName = "pancake";
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
|
33
hosts/pancake/disk-config.nix
Normal file
33
hosts/pancake/disk-config.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
disko.devices = {
|
||||||
|
disk = {
|
||||||
|
main = {
|
||||||
|
device = "/dev/mmcblk0";
|
||||||
|
type = "disk";
|
||||||
|
content = {
|
||||||
|
type = "gpt";
|
||||||
|
partitions = {
|
||||||
|
ESP = {
|
||||||
|
type = "EF00";
|
||||||
|
size = "500M";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "vfat";
|
||||||
|
mountpoint = "/boot";
|
||||||
|
mountOptions = [ "umask=0077" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
root = {
|
||||||
|
size = "100%";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "ext4";
|
||||||
|
mountpoint = "/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue