profiles/system: rename to profiles/desktop

The need for configuring desktop and server in separate profiles is
becoming more obvious. Not to mention, most of the system config from
profiles/system is obviously more desktop-oriented.
This commit is contained in:
Gabriel Arazas 2022-11-29 21:03:30 +08:00
parent 07b198c5ab
commit 131fa25023
4 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@
};
profiles = {
system = {
desktop = {
enable = true;
fonts.enable = true;
};

View File

@ -51,7 +51,7 @@
profiles = {
i18n.enable = true;
archiving.enable = true;
system = {
desktop = {
enable = true;
audio.enable = true;
fonts.enable = true;

View File

@ -120,7 +120,7 @@ in
};
# Time to harden...
profiles.system.hardened-config.enable = true;
profiles.desktop.hardened-config.enable = true;
# Generate them certificates.
security.acme = {

View File

@ -3,9 +3,9 @@
# That can be found in the `themes` module.
{ config, options, lib, pkgs, ... }:
let cfg = config.profiles.system;
let cfg = config.profiles.desktop;
in {
options.profiles.system = {
options.profiles.desktop = {
enable =
lib.mkEnableOption "all desktop-related services and default programs";
audio.enable =