tweak: host modules

This commit is contained in:
serenity-F 2026-10-03 02:09:18 +10:00
parent 1872ffe9a2
commit 952d8b731b
No known key found for this signature in database
3 changed files with 21 additions and 29 deletions

View file

@ -11,6 +11,9 @@
# modules that comprise the host specific configuration # modules that comprise the host specific configuration
modules = with self.nixosModules; [ modules = with self.nixosModules; [
# user modules
serenity
# shared system modules # shared system modules
core # shared configuration options core # shared configuration options
user-parts # user variables user-parts # user variables
@ -18,24 +21,20 @@
# host-specific modules # host-specific modules
hades-configuration # host specific configuration options below hades-configuration # host specific configuration options below
hades-hardware # hardware configuration options for host hades-hardware # hardware configuration options for host
zfs-hades # specific zfs configuration for host zfs-support # zfs support module for hades specific zpool
# feature modules # feature modules
virtualisation virtualisation # virtual machines
network-proxy network-proxy # basic dns crypt proxy
zfs-support kde-connect # phone <-> desktop connectivity
kde-connect terminal # most terminal programs
terminal terminal-emulator # terminal program for desktops
terminal-emulator desktop # most desktop programs
desktop music # music consumption
music music-production # music creation
music-production gaming # gaming modules, steam, osu, etc.
gaming multimedia # image and video programs
multimedia virtual-reality # configuration for vr setup
virtual-reality
# user modules
serenity
]; ];

View file

@ -37,6 +37,12 @@
kernelPackages = lib.mkForce latestKernelPackage; kernelPackages = lib.mkForce latestKernelPackage;
# adds zfs support at boot # adds zfs support at boot
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
# zfs boot settings
boot.zfs = {
forceImportRoot = false;
# imports hades specific zpool
extraPools = [ "orcus" ];
};
}; };
# adds zfs to system packages # adds zfs to system packages
@ -49,16 +55,4 @@
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
}; };
flake.nixosModules.zfs-hades =
{ config, pkgs, ... }:
{
boot.zfs = {
extraPools = [ "orcus" ];
forceImportRoot = false;
};
};
} }

View file

@ -16,7 +16,6 @@
# extra modules to include on host # extra modules to include on host
terminal terminal
zfs-support
network-proxy network-proxy
# users to include on host # users to include on host