mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: lurching towards relative usability
This commit is contained in:
parent
a0fb7eb402
commit
961ec369ba
51 changed files with 1349 additions and 407 deletions
60
systems/koishi.nix
Normal file
60
systems/koishi.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
_: let
|
||||
hostConfig = {
|
||||
tree,
|
||||
...
|
||||
}: {
|
||||
imports = with tree; [
|
||||
nixos.gnome
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/a664de0f-9883-420e-acc5-b9602a23e816";
|
||||
fsType = "xfs";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/DEBC-8F03";
|
||||
fsType = "vfat";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/0d846453-95b4-46e1-8eaf-b910b4321ef0";}
|
||||
];
|
||||
|
||||
boot = {
|
||||
supportedFilesystems = ["xfs"];
|
||||
initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/f0ea08b4-6af7-4d90-a2ad-edd5672a2105";
|
||||
loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
grub = {
|
||||
devices = ["nodev"];
|
||||
efiSupport = true;
|
||||
enable = true;
|
||||
extraEntries = ''
|
||||
menuentry "Windows" {
|
||||
insmod part_gpt
|
||||
insmod fat
|
||||
insmod search_fs_uuid
|
||||
insmod chain
|
||||
search --fs-uuid --set=root DEBC-8F03
|
||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||
}
|
||||
'';
|
||||
version = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
};
|
||||
in {
|
||||
arch = "x86_64";
|
||||
type = "NixOS";
|
||||
modules = [
|
||||
hostConfig
|
||||
];
|
||||
}
|
||||
11
systems/sumireko.nix
Normal file
11
systems/sumireko.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
_: let
|
||||
hostConfig = _: {
|
||||
system.stateVersion = 4;
|
||||
};
|
||||
in {
|
||||
arch = "aarch64";
|
||||
type = "macOS";
|
||||
modules = [
|
||||
hostConfig
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue