mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
a bunch of code cleanup
This commit is contained in:
parent
977d1ad6d2
commit
016a347d5e
19 changed files with 92 additions and 100 deletions
|
|
@ -5,16 +5,15 @@
|
|||
lib,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
cfg = config.localModules.DE.dwm;
|
||||
sp = suckless.packages.${pkgs.system};
|
||||
in {
|
||||
options.localModules.DE.dwm = {
|
||||
enable = mkEnableOption "";
|
||||
enable = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.gvfs.enable = true;
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
|
@ -27,7 +26,7 @@ in {
|
|||
defaultSession = "none+dwm";
|
||||
};
|
||||
windowManager.session =
|
||||
singleton
|
||||
lib.singleton
|
||||
{
|
||||
name = "dwm";
|
||||
start = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue