From 579365f2a8c8b2d5d633b924973654592aa7b3c9 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 27 May 2025 13:36:33 -0400 Subject: [PATCH] work --- README.md | 1 + hosts/common/disks/zfs-impermanence-disk.nix | 16 ++++++++++ hosts/nixos/Incarceron/default.nix | 31 ++++++++++++++++++++ hosts/nixos/{tmp => Parzival/default.nix} | 0 4 files changed, 48 insertions(+) create mode 100644 hosts/common/disks/zfs-impermanence-disk.nix create mode 100644 hosts/nixos/Incarceron/default.nix rename hosts/nixos/{tmp => Parzival/default.nix} (100%) diff --git a/README.md b/README.md index 72c8630..4ed9702 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ - Currently not using any darwin hosts - `nixos` - machine specific configurations for NixOS-based hosts - `Parzival` - Primary Box - Ryzen 5 7600 - 32GB DDR5 - RX 7800 XT + - `Incarceron` - Work issued framework 13 - AMD Ryzen 7 7840U - 32GB DDR5 - `home/` - Home-manager configurations, built automatically during host rebuilds. - `common` - Shared home-manager configurations consumed the user's machine diff --git a/hosts/common/disks/zfs-impermanence-disk.nix b/hosts/common/disks/zfs-impermanence-disk.nix new file mode 100644 index 0000000..4ea9de9 --- /dev/null +++ b/hosts/common/disks/zfs-impermanence-disk.nix @@ -0,0 +1,16 @@ +{ + lib, + pkgs, + disk ? "/dev/vda", + withSwap ? false, + swapSize, + config, + ... +}: { + disko.devices = { + disk = { + disk0 = { + }; + }; + }; +} diff --git a/hosts/nixos/Incarceron/default.nix b/hosts/nixos/Incarceron/default.nix new file mode 100644 index 0000000..f591897 --- /dev/null +++ b/hosts/nixos/Incarceron/default.nix @@ -0,0 +1,31 @@ +################################# +# # +# Incarceron - Laptop # +# NixOS running on Framework 13 # +# # +################################# +{ + inputs, + lib, + pkgs, + ... +}: { + imports = lib.flatten [ + # Hardware + ./hardware-configuration.nix # I want to use factor if possible + + # Disks + inputs.disko.nixosModules.disko + + # Misc + # inputs.stylix.nixosModules.stylix + + (map lib.custom.relativeToRoot [ + # Required configs + "hosts/common/core" + + # Optional configs + "hosts/common/optional/keyd.nix" + ]) + ]; +} diff --git a/hosts/nixos/tmp b/hosts/nixos/Parzival/default.nix similarity index 100% rename from hosts/nixos/tmp rename to hosts/nixos/Parzival/default.nix