From 32cf02d926f09f8112378ee65f526bfbbcab7da2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Jun 2022 09:28:45 -0700 Subject: ref(profiles): get rid of all the profiles All the modules that are setup by the profiles are now managed at the host level. This simplify some configuration, and will make it easier to adjust things at the host instead of trying to squeeze everything into profiles. This will also help the refactoring later, when I'll split nixos and home-manager configuration. Change-Id: I17ffda8b0b5d15bf1915c6fae5030380523d74b5 Reviewed-on: https://cl.fcuny.net/c/world/+/297 Reviewed-by: Franck Cuny --- profiles/desktop/default.nix | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 profiles/desktop/default.nix (limited to 'profiles/desktop') diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix deleted file mode 100644 index 50b7828..0000000 --- a/profiles/desktop/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, lib, ... }: -let cfg = config.my.profiles.desktop; -in { - options.my.profiles.desktop = with lib; { - enable = mkEnableOption "desktop profile"; - }; - config = lib.mkIf cfg.enable { - my = { - systems = { fonts.enable = true; }; - services = { - gnome.enable = true; - # we need avahi in order to use the printer/scanner - avahi.enable = true; - }; - profiles = { wm.windowManager = "sway"; }; - programs = { sway.enable = true; }; - }; - }; -} -- cgit 1.4.1