hosts: add ooksmedia
This commit is contained in:
parent
f3895ce019
commit
10816d1a0a
10 changed files with 301 additions and 27 deletions
28
hosts/ooksmedia/default.nix
Normal file
28
hosts/ooksmedia/default.nix
Normal 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";
|
||||
}
|
||||
29
hosts/ooksmedia/file-system.nix
Normal file
29
hosts/ooksmedia/file-system.nix
Normal 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 = [];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue