stuff
This commit is contained in:
parent
b8af0e9761
commit
8164e92af6
84 changed files with 674 additions and 567 deletions
|
@ -1,3 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.profiles.server;
|
||||
in
|
||||
{
|
||||
options.profiles.server = {
|
||||
enable = lib.mkEnableOption "server";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = !config.profiles.desktop.enable;
|
||||
message = "The server profile is not compatible with the desktop profile.";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.useNetworkd = true;
|
||||
networking.useNetworkd = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
time.timeZone = "UTC";
|
||||
time.timeZone = "UTC";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue