refactor
Riley Apeldoorn 2 years ago
parent 81099d2644
commit 78b2cc7988

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

@ -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";
};
}
Loading…
Cancel
Save