mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51: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 = [
|
imports = [
|
||||||
./qtile
|
./dm
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./theming.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,
|
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 = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = osConfig.services.xserver.windowManager.qtile.enable;
|
assertion = osConfig.services.xserver.windowManager.qtile.enable;
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".config/qtile/config.py".source = ./files/qtile.py;
|
home.file.".config/qtile/config.py".source = ./qtile.py;
|
||||||
home.file.".background-image".source = ./files/background-image;
|
home.file.".background-image".source = ./background-image;
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
# Widget dependencies
|
# Widget dependencies
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
myConfig = {
|
myConfig = {
|
||||||
qtile.enable = true;
|
dm.qtile.enable = true;
|
||||||
vscode.enable = true;
|
vscode.enable = true;
|
||||||
shell = {
|
shell = {
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue