mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
work
This commit is contained in:
parent
79e25fcdc8
commit
579365f2a8
4 changed files with 48 additions and 0 deletions
|
|
@ -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/<user>` - Home-manager configurations, built automatically during host
|
||||
rebuilds.
|
||||
- `common` - Shared home-manager configurations consumed the user's machine
|
||||
|
|
|
|||
16
hosts/common/disks/zfs-impermanence-disk.nix
Normal file
16
hosts/common/disks/zfs-impermanence-disk.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
disk ? "/dev/vda",
|
||||
withSwap ? false,
|
||||
swapSize,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
disk0 = {
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
31
hosts/nixos/Incarceron/default.nix
Normal file
31
hosts/nixos/Incarceron/default.nix
Normal file
|
|
@ -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"
|
||||
])
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue