readme and bspwm
This commit is contained in:
parent
932354984a
commit
69e025eb82
3 changed files with 30 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
## Templates/Resources used
|
## 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)
|
[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)
|
[doom emacs guy -> hlissner/dotfiles](https://github.com/hlissner/dotfiles)
|
||||||
[nixos.wiki (unofficial)](https://nixos.wiki/)
|
[nixos.wiki (unofficial)](https://nixos.wiki/)
|
||||||
|
|
28
modules/desktop/bspwm/default.nix
Normal file
28
modules/desktop/bspwm/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./kitty
|
./kitty
|
||||||
|
./bspwm
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue