This commit is contained in:
Riley Apeldoorn 2022-05-23 17:51:47 +00:00
parent 81099d2644
commit 78b2cc7988
2 changed files with 36 additions and 1 deletions

View file

@ -43,7 +43,16 @@
}; };
# TODO: Pinebook Pro # TODO: Pinebook Pro
# TODO: Raspberry Pi
# Raspberry Pi server
"nixos" = lib.nixosSystem {
system = "aarch64-linux";
modules = [
./machines/sif/configuration.nix
./common.nix
];
specialArgs = args;
};
}; };
}; };

View file

@ -0,0 +1,26 @@
{ config, pkgs, lib, ... }:
{
networking.hostName = "sif";
boot.loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
environment.systemPackages = with pkgs; [
git
vim
];
users.users."riley" = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
boot.kernelPackages = pkgs.linuxPackages_latest;
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
}