tidied and trying mkIf options for per-host modules
This commit is contained in:
parent
36f58c2b14
commit
307ac8387b
1 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
let hostname = config.networking.hostName;
|
||||
in {
|
||||
|
||||
imports = [
|
||||
|
||||
|
|
@ -9,8 +9,8 @@
|
|||
./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)
|
||||
(lib.mkIf config.networking.hostName."hades" [ ./zfs ])
|
||||
|
||||
];
|
||||
]; # ++ lib.optionals(hostname == "hades" [ ./zfs ]; ) ;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue