From 1c77d202653c1ae83713071bce6969694732fb26 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 23 Sep 2022 19:23:50 -0700 Subject: fix(hosts): the WM manager needs to be in home.nix --- hosts/aptos/default.nix | 3 +-- hosts/aptos/home.nix | 4 +++- hosts/carmel/default.nix | 3 +-- hosts/carmel/home.nix | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) (limited to 'hosts') diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index f92ce07..0676887 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, hostname, ... }: +{ ... }: { imports = [ ./hardware.nix ./sound.nix ./networking.nix ./services.nix ]; @@ -11,7 +11,6 @@ # install and configure sway my.programs.sway.enable = true; - my.home.wm.windowManager = "sway"; virtualisation.docker = { enable = true; }; diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix index e390ac3..2d60b53 100644 --- a/hosts/aptos/home.nix +++ b/hosts/aptos/home.nix @@ -1,5 +1,7 @@ -{ pkgs, ... }: { +{ ... }: { my.home = { + wm.windowManager = "sway"; + # default packages I want on all hosts packages.enable = true; diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix index 8971397..e9f0d64 100644 --- a/hosts/carmel/default.nix +++ b/hosts/carmel/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, hostname, ... }: +{ ... }: { imports = @@ -12,7 +12,6 @@ # install and configure sway my.programs.sway.enable = true; - my.home.wm.windowManager = "sway"; hardware.opengl.driSupport = true; diff --git a/hosts/carmel/home.nix b/hosts/carmel/home.nix index 9f7cb0a..4353abb 100644 --- a/hosts/carmel/home.nix +++ b/hosts/carmel/home.nix @@ -1,5 +1,7 @@ -{ pkgs, ... }: { +{ ... }: { my.home = { + my.home.wm.windowManager = "sway"; + # default packages I want on all hosts packages.enable = true; -- cgit 1.4.1