From 7ae53c156390afe0eff2c39549b3a280c11a8e29 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 17 Apr 2022 00:12:19 +0800 Subject: [PATCH] profiles/desktop: rename into profiles/system It is causing some confusion since it is slowly gaining some non-desktop-related functions too. A rename would be appropriate now. --- hosts/graphical-installer/default.nix | 2 +- hosts/ni/default.nix | 2 +- modules/nixos/profiles/{desktop.nix => system.nix} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename modules/nixos/profiles/{desktop.nix => system.nix} (98%) diff --git a/hosts/graphical-installer/default.nix b/hosts/graphical-installer/default.nix index 8c15fbd5..4c2d4b5c 100644 --- a/hosts/graphical-installer/default.nix +++ b/hosts/graphical-installer/default.nix @@ -24,7 +24,7 @@ }; profiles = { - desktop = { + system = { enable = true; fonts.enable = true; }; diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 20cc1b31..85a20f8b 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -12,7 +12,7 @@ profiles = { agenix.enable = true; archiving.enable = true; - desktop = { + system = { enable = true; audio.enable = true; fonts.enable = true; diff --git a/modules/nixos/profiles/desktop.nix b/modules/nixos/profiles/system.nix similarity index 98% rename from modules/nixos/profiles/desktop.nix rename to modules/nixos/profiles/system.nix index a7b2c7c0..43aee334 100644 --- a/modules/nixos/profiles/desktop.nix +++ b/modules/nixos/profiles/system.nix @@ -3,9 +3,9 @@ # That can be found in the `themes` module. { inputs, config, options, lib, pkgs, ... }: -let cfg = config.profiles.desktop; +let cfg = config.profiles.system; in { - options.profiles.desktop = { + options.profiles.system = { enable = lib.mkEnableOption "all desktop-related services and default programs"; audio.enable =