mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Restructure wm configuration for future expansion
This commit is contained in:
parent
3509e1d959
commit
d3ff309fd9
6 changed files with 11 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./qtile
|
||||
./dm
|
||||
./vscode.nix
|
||||
./shell.nix
|
||||
./theming.nix
|
||||
|
|
|
|||
5
modules/home/dm/default.nix
Normal file
5
modules/home/dm/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./qtile
|
||||
];
|
||||
}
|
||||
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
|
|
@ -5,9 +5,9 @@
|
|||
osConfig,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.qtile.enable = lib.mkEnableOption "";
|
||||
options.myConfig.dm.qtile.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.qtile.enable {
|
||||
config = lib.mkIf config.myConfig.dm.qtile.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = osConfig.services.xserver.windowManager.qtile.enable;
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
}
|
||||
];
|
||||
|
||||
home.file.".config/qtile/config.py".source = ./files/qtile.py;
|
||||
home.file.".background-image".source = ./files/background-image;
|
||||
home.file.".config/qtile/config.py".source = ./qtile.py;
|
||||
home.file.".background-image".source = ./background-image;
|
||||
|
||||
home.packages = [
|
||||
# Widget dependencies
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
myConfig = {
|
||||
qtile.enable = true;
|
||||
dm.qtile.enable = true;
|
||||
vscode.enable = true;
|
||||
shell = {
|
||||
bash.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue