readme and bspwm

This commit is contained in:
Sakooooo 2023-07-08 18:30:16 +03:00
parent 932354984a
commit 69e025eb82
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 30 additions and 1 deletions

View file

@ -5,7 +5,7 @@
## Templates/Resources used
[Misterio77/nix-starter-configs2](https://github.com/Misterio77/nix-starter-configs)
[Misterio77/nix-starter-configs2](https://github.com/Misterio77/nix-starter-configs)<br></br>
[pull request for a bug](https://github.com/Misterio77/nix-starter-configs/pull/34/commits/2a5f3ca3dde606b83ea30b5507347bf989819301)
[doom emacs guy -> hlissner/dotfiles](https://github.com/hlissner/dotfiles)
[nixos.wiki (unofficial)](https://nixos.wiki/)

View file

@ -0,0 +1,28 @@
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.bspwm;
in
{
options.modules.desktop.bspwm = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
services.xserver = {
enable = true;
windowManager.bspwm.enable = true;
};
users.users.sako.packages = with pkgs; [
kitty
];
home-manager.users.sako = { pkgs , ...}: {
xdg.configFile = {
kitty = {
source = ../../../config/kitty;
};
};
};
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./kitty
./bspwm
];
}