From 45b4b8c88ce25e0a551d757f3f756617700adcd7 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:12:20 +0300 Subject: [PATCH] xmoadn progres and awesome --- modules/desktop/awesome/default.nix | 13 ++++++ modules/desktop/xmonad/default.nix | 65 +++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 modules/desktop/awesome/default.nix diff --git a/modules/desktop/awesome/default.nix b/modules/desktop/awesome/default.nix new file mode 100644 index 00000000..195707d9 --- /dev/null +++ b/modules/desktop/awesome/default.nix @@ -0,0 +1,13 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.awesome; +in +{ + options.modules.desktop.awesome = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + }; +} diff --git a/modules/desktop/xmonad/default.nix b/modules/desktop/xmonad/default.nix index 678b20f6..cf3d7f80 100644 --- a/modules/desktop/xmonad/default.nix +++ b/modules/desktop/xmonad/default.nix @@ -21,6 +21,71 @@ in "-i${xmonad-contexts}" # tell ghc to search in the respective nix store path for the module ]; }; + displayManager = { + lightdm = { + enable = true; + background = ../../../config/background.png; + greeters.gtk = { + enable = true; + theme = { + name = "vimix-dark-ruby"; + package = pkgs.vimix-gtk-themes; + }; + }; + }; + }; + libinput = { + enable = true; + + # mouse + mouse = { + accelProfile = "flat"; + }; + + # touchpad + touchpad = { + accelProfile = "flat"; + }; + }; + + users.users.sako.packages = with pkgs; [ + rofi + # network + networkmanagerapplet + # brightness + brightnessctl + # gee tee k + vimix-gtk-themes + vimix-icon-theme + lxappearance + catppuccin-cursors.mochaDark + # screen shot (s) + flameshot + ]; + + home-manager.users.sako = { pkgs , ...}: { + home.pointerCursor = { + name = "Catppuccin-Mocha-Dark"; + size = 16; + x11 = { + enable = true; + }; + gtk.enable = true; + package = pkgs.catppuccin-cursors.mochaDark; + }; + gtk = { + theme.name = "vimix-dark-ruby"; + iconTheme.name = "Vimix Ruby Dark"; + }; + xdg.configFile = { + bspwm = { + source = ../../../config/bspwm; + }; + sxhkd = { + source = ../../../config/sxhkd; + }; + }; + }; }; }; }