Module : Refactor a bit.
This commit is contained in:
parent
514523e4f0
commit
2e58f63b16
|
@ -3,7 +3,7 @@
|
|||
cfg = config.module.desktop.realtime;
|
||||
in {
|
||||
options = {
|
||||
module.desktop.realtime.enable = mkEnableOption "Realtime access.";
|
||||
module.realtime.enable = mkEnableOption "Realtime access.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... } @args: {
|
||||
{ lib, ... } : {
|
||||
# Remove default aliases for `l`, `ll` etc as they break my function definitions.
|
||||
environment.shellAliases = lib.mkForce {};
|
||||
}
|
|
@ -8,14 +8,16 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
module.desktop = {
|
||||
module = {
|
||||
desktop = {
|
||||
bluetooth.enable = true;
|
||||
brightness.enable = true;
|
||||
portal.enable = true;
|
||||
realtime.enable = true;
|
||||
sound.enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
realtime.enable = true;
|
||||
};
|
||||
|
||||
services.gnome.gnome-keyring.enable = mkForce false;
|
||||
environment.variables.XDG_CURRENT_DESKTOP = "sway";
|
||||
|
|
Loading…
Reference in a new issue