tidied and trying mkIf options for per-host modules
This commit is contained in:
parent
aa863daf31
commit
36f58c2b14
2 changed files with 4 additions and 3 deletions
|
|
@ -1,14 +1,15 @@
|
|||
{ ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
||||
## Semi-modularised config
|
||||
./sync.nix # syncthing settings
|
||||
./sync.nix # syncthing and gitwatch settings
|
||||
./misc.nix # stuff that doesn't work in `/home` :(
|
||||
./audio.nix # musnix and ... audio ... config
|
||||
./display.nix # declarations for display management
|
||||
(lib.mkIf config.networking.hostName."hades" ./zfs)
|
||||
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
## Selected host modules for import
|
||||
./hardware.nix # hardware configuration
|
||||
./network.nix # network configuration
|
||||
./zfs.nix # zfs configuration
|
||||
#./zfs.nix # zfs configuration
|
||||
|
||||
## Additional core modules to import
|
||||
../../../core/modules/jellyfin.nix # temporary for config purposes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue