diff options
| author | Baitinq <[email protected]> | 2022-07-04 11:48:31 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-07-05 14:12:47 +0200 |
| commit | 3035b90b4383a4cd5042f6d330efc3819f08d03c (patch) | |
| tree | df3e076f7121576425f299348cda0d6109c22a30 /hosts/home.nix | |
| parent | fmt (diff) | |
| download | nixos-config-3035b90b4383a4cd5042f6d330efc3819f08d03c.tar.gz nixos-config-3035b90b4383a4cd5042f6d330efc3819f08d03c.tar.bz2 nixos-config-3035b90b4383a4cd5042f6d330efc3819f08d03c.zip | |
Switch windowmanager to xmonad
Diffstat (limited to 'hosts/home.nix')
| -rw-r--r-- | hosts/home.nix | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/hosts/home.nix b/hosts/home.nix index c1df4c6..568f426 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, inputs, user, hostname, secrets, ... }: +{ config, lib, pkgs, inputs, user, hostname, secrets, location, ... }: let dotfiles = ../dotfiles; in @@ -17,7 +17,7 @@ in discord mpv sxiv - dwm + #dwm st dmenu unclutter @@ -41,6 +41,22 @@ in ]); }; + xsession.windowManager.xmonad = { + enable = true; + enableContribAndExtras = true; + #extraPackages = pkgs: [pkgs.xmonadctl]; + config = dotfiles + "/xmonad.hs"; + }; + + programs.xmobar = { + enable = true; + extraConfig = builtins.readFile (dotfiles + "/xmobar.hs"); + }; + + home.sessionVariables = { + LOCATION = "${location}"; + }; + services = { gpg-agent = { enable = true; |