moving along wiht the refactoring

This commit is contained in:
Charlie Root 2024-07-20 13:56:02 +02:00
commit 91d4b21cdf
18 changed files with 63 additions and 180 deletions

View file

View file

@ -0,0 +1,12 @@
{
lib,
pkgs,
config,
}: let
in {
imports = [
./stylix.nix
./qt.nix
./gtk.nix
];
}

View file

View file

View file

@ -11,7 +11,7 @@
in {
options.modules.usrEnv = {
desktop = mkOption {
type = enum ["none" "Hyprland" "sway" "awesomewm" "i3"];
type = enum ["none" "Hyprland" "awesomewm" "i3"];
default = "none";
description = ''
The desktop environment to be used.

View file

@ -0,0 +1,14 @@
{lib, ...}: let
inherit (lib.options) mkOption mkEnableOption;
inherit (lib) types;
in {
options.modules.usrEnv.services.media = {
mpd = {
enable = mkEnableOption "mpd service";
musicDirectory = mkOption {
description = "music directory for mpd";
type = types.str;
};
};
};
}