hosts: add ooksmedia

This commit is contained in:
ooks-io 2024-11-21 12:24:04 +11:00
parent f3895ce019
commit 10816d1a0a
10 changed files with 301 additions and 27 deletions

View file

@ -1,9 +0,0 @@
{
ooknet.host = {
admin = {
name = "ooks";
shell = "fish";
homeManager = true;
};
};
}

View file

@ -0,0 +1,28 @@
{
pkgs,
lib,
...
}: {
imports = [
./file-system.nix
./hardware.nix
];
ooknet = {
host = {
admin = {
name = "ooks";
shell = "fish";
homeManager = true;
};
};
console = {
profile = "standard";
editor = "nvim";
multiplexer = "zellij";
};
};
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
system.stateVersion = lib.mkDefault "24.11";
}

View file

@ -0,0 +1,29 @@
{
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/50617edf-e788-49cc-9e0c-85a2f90a5550";
fsType = "btrfs";
options = ["subvol=root"];
};
"/nix" = {
device = "/dev/disk/by-uuid/50617edf-e788-49cc-9e0c-85a2f90a5550";
fsType = "btrfs";
options = ["subvol=nix"];
};
"/persist" = {
device = "/dev/disk/by-uuid/50617edf-e788-49cc-9e0c-85a2f90a5550";
fsType = "btrfs";
options = ["subvol=persist"];
};
"/swap" = {
device = "/dev/disk/by-uuid/50617edf-e788-49cc-9e0c-85a2f90a5550";
fsType = "btrfs";
options = ["subvol=swap"];
};
"/boot" = {
device = "/dev/disk/by-uuid/B511-09E2";
fsType = "vfat";
};
};
swapDevices = [];
}