Add sif
This commit is contained in:
parent
81099d2644
commit
78b2cc7988
2 changed files with 36 additions and 1 deletions
11
flake.nix
11
flake.nix
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
26
machines/sif/configuration.nix
Normal file
26
machines/sif/configuration.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue