mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-05-11 17:35:56 +08:00
add dms
This commit is contained in:
parent
546fe36923
commit
fdbf3e4453
16 changed files with 395 additions and 78 deletions
|
|
@ -2,4 +2,5 @@
|
|||
monitors = import ./monitors.nix;
|
||||
colorscheme = import ./colorscheme.nix;
|
||||
wallpapers = import ./wallpaper.nix;
|
||||
desktopShell = import ./desktop-shell.nix;
|
||||
}
|
||||
|
|
|
|||
13
modules/home-manager/desktop-shell.nix
Normal file
13
modules/home-manager/desktop-shell.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.desktopShell = mkOption {
|
||||
type = types.str;
|
||||
description = "The desktop shell to use.";
|
||||
};
|
||||
|
||||
config = {
|
||||
programs.waybar.enable = config.desktopShell == "waybar";
|
||||
programs.dankMaterialShell.enable = config.desktopShell == "dank";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue