tweak: host modules
This commit is contained in:
parent
1872ffe9a2
commit
952d8b731b
3 changed files with 21 additions and 29 deletions
|
|
@ -11,6 +11,9 @@
|
|||
# modules that comprise the host specific configuration
|
||||
modules = with self.nixosModules; [
|
||||
|
||||
# user modules
|
||||
serenity
|
||||
|
||||
# shared system modules
|
||||
core # shared configuration options
|
||||
user-parts # user variables
|
||||
|
|
@ -18,24 +21,20 @@
|
|||
# host-specific modules
|
||||
hades-configuration # host specific configuration options below
|
||||
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
|
||||
virtualisation
|
||||
network-proxy
|
||||
zfs-support
|
||||
kde-connect
|
||||
terminal
|
||||
terminal-emulator
|
||||
desktop
|
||||
music
|
||||
music-production
|
||||
gaming
|
||||
multimedia
|
||||
virtual-reality
|
||||
|
||||
# user modules
|
||||
serenity
|
||||
virtualisation # virtual machines
|
||||
network-proxy # basic dns crypt proxy
|
||||
kde-connect # phone <-> desktop connectivity
|
||||
terminal # most terminal programs
|
||||
terminal-emulator # terminal program for desktops
|
||||
desktop # most desktop programs
|
||||
music # music consumption
|
||||
music-production # music creation
|
||||
gaming # gaming modules, steam, osu, etc.
|
||||
multimedia # image and video programs
|
||||
virtual-reality # configuration for vr setup
|
||||
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,12 @@
|
|||
kernelPackages = lib.mkForce latestKernelPackage;
|
||||
# adds zfs support at boot
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
# zfs boot settings
|
||||
boot.zfs = {
|
||||
forceImportRoot = false;
|
||||
# imports hades specific zpool
|
||||
extraPools = [ "orcus" ];
|
||||
};
|
||||
};
|
||||
|
||||
# adds zfs to system packages
|
||||
|
|
@ -49,16 +55,4 @@
|
|||
services.zfs.autoScrub.enable = true;
|
||||
};
|
||||
|
||||
flake.nixosModules.zfs-hades =
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
boot.zfs = {
|
||||
extraPools = [ "orcus" ];
|
||||
forceImportRoot = false;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
# extra modules to include on host
|
||||
terminal
|
||||
zfs-support
|
||||
network-proxy
|
||||
|
||||
# users to include on host
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue