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 --- hosts/aptos/default.nix | 8 +++++++- hosts/aptos/profile.nix | 4 ---- hosts/aptos/services.nix | 6 ++++++ 3 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 hosts/aptos/profile.nix (limited to 'hosts/aptos') diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index 08fb55e..70a79ed 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -5,7 +5,6 @@ ./hardware.nix ./sound.nix ./networking.nix - ./profile.nix ./home.nix ./services.nix ]; @@ -13,6 +12,13 @@ # Allow setting GTK configuration using home-manager programs.dconf.enable = true; + # install and configure the fonts + my.systems.fonts.enable = true; + + # install and configure sway + my.programs.sway.enable = true; + my.home.wm.windowManager = "sway"; + virtualisation.docker = { enable = true; }; virtualisation.containerd = { diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix deleted file mode 100644 index f3f5d4e..0000000 --- a/hosts/aptos/profile.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: { - - my.profiles = { desktop.enable = true; }; -} diff --git a/hosts/aptos/services.nix b/hosts/aptos/services.nix index ce89f43..ab8efe5 100644 --- a/hosts/aptos/services.nix +++ b/hosts/aptos/services.nix @@ -8,6 +8,12 @@ in { # Enable TLP power management tlp.enable = true; + # enable a few services related to the gnome desktop + gnome.enable = true; + + # we need avahi in order to use the printer/scanner + avahi.enable = true; + syncthing.enable = true; backup = { -- cgit 1.4.1