This commit is contained in:
Kyle Isom 2025-09-08 13:56:57 -07:00
parent c0302ba8cb
commit 19e9b46226
5 changed files with 50 additions and 1 deletions

View File

@ -6,6 +6,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
acpitool
adafruit-nrfutil
alire
arduino

View File

@ -4,7 +4,6 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
acpitool
binutils-unwrapped
cacert
cloc

View File

@ -13,6 +13,8 @@
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{
@ -28,6 +30,7 @@
"imladris"
"orion"
"rift"
"sk"
] (hostName: lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };

11
hw/sk/default.nix Normal file
View File

@ -0,0 +1,11 @@
{ inputs, ... }:
{
imports = [
./hardware-configuration.nix
./disk-config.nix
];
config = {
};
}

35
hw/sk/disk-config.nix Normal file
View File

@ -0,0 +1,35 @@
{ lib, ... }:
{
disko.devices = {
disk = {
main = {
device = lib.mkDefault "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1G";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}