From fb7c8eb1d80c2353ef0c0eb8448ae5116146b6f0 Mon Sep 17 00:00:00 2001 From: Anish L Date: Sun, 10 Oct 2021 15:22:31 +0000 Subject: [PATCH] bspwm doesnt appear to be starting --- flake.nix | 2 +- profiles/desktop/default.nix | 21 ++++++++++++--------- users/profiles/desktop/default.nix | 1 + 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index eab00ec2..26da78c0 100644 --- a/flake.nix +++ b/flake.nix @@ -127,7 +127,7 @@ users = digga.lib.rakeLeaves ./users; }; suites = with profiles; rec { - base = [ core users.nixos users.root nvim ]; + base = [ core users.nixos users.root nvim users.anish ]; # TODO make anish non gui sealight = [ base ]; # matrix rsshub backup wireguard mossnet = [ base ]; # shaarli wallabag nextcloud taskwarrior headphones curve = [ base desktop ]; diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index eb9814d7..7eb534e7 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -20,20 +20,23 @@ displayManager = { defaultSession = "none+bspwm"; lightdm.enable = true; - lightdm.greeters.mini.enable = true; + #lightdm.greeters.mini.enable = true; + #lightdm.greeters.mini.user = "anish"; # TODO hardcoded }; windowManager.bspwm.enable = true; + windowManager.bspwm.configFile = "/home/anish/bspwm/bspwmrc"; + #windowManager.default = "bspwm"; }; }; - systemd.user.services."dunst" = { - enable = true; - description = ""; - wantedBy = [ "default.target" ]; - serviceConfig.Restart = "always"; - serviceConfig.RestartSec = 2; - serviceConfig.ExecStart = "${pkgs.dunst}/bin/dunst"; - }; + #systemd.user.services."dunst" = { + # enable = true; + # description = ""; + # wantedBy = [ "default.target" ]; + # serviceConfig.Restart = "always"; + # serviceConfig.RestartSec = 2; + # serviceConfig.ExecStart = "${pkgs.dunst}/bin/dunst"; + #}; services.xserver.displayManager.lightdm.greeters.mini.extraConfig = '' text-color = "#ff79c6" password-background-color = "#1E2029" diff --git a/users/profiles/desktop/default.nix b/users/profiles/desktop/default.nix index f8467aa2..0a8572cc 100644 --- a/users/profiles/desktop/default.nix +++ b/users/profiles/desktop/default.nix @@ -60,6 +60,7 @@ # Move required config files around home.file = { "bspwm/rc.d/polybar".source = ./run.sh; + "bspwm/bspwmrc".source = ./bspwmrc; "sxhkdrc".source = ./sxhkdrc; "rofi/theme" = { source = ./rofi;