mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
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:
parent
07b198c5ab
commit
131fa25023
@ -18,7 +18,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
profiles = {
|
profiles = {
|
||||||
i18n.enable = true;
|
i18n.enable = true;
|
||||||
archiving.enable = true;
|
archiving.enable = true;
|
||||||
system = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
|
@ -120,7 +120,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Time to harden...
|
# Time to harden...
|
||||||
profiles.system.hardened-config.enable = true;
|
profiles.desktop.hardened-config.enable = true;
|
||||||
|
|
||||||
# Generate them certificates.
|
# Generate them certificates.
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
# That can be found in the `themes` module.
|
# That can be found in the `themes` module.
|
||||||
{ config, options, lib, pkgs, ... }:
|
{ config, options, lib, pkgs, ... }:
|
||||||
|
|
||||||
let cfg = config.profiles.system;
|
let cfg = config.profiles.desktop;
|
||||||
in {
|
in {
|
||||||
options.profiles.system = {
|
options.profiles.desktop = {
|
||||||
enable =
|
enable =
|
||||||
lib.mkEnableOption "all desktop-related services and default programs";
|
lib.mkEnableOption "all desktop-related services and default programs";
|
||||||
audio.enable =
|
audio.enable =
|
Loading…
Reference in New Issue
Block a user