steal from MaxMur

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-03 17:57:49 +03:00
parent f31ca59f58
commit 211e509628
11 changed files with 94 additions and 84 deletions

View File

@ -5,6 +5,7 @@
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.desktop.cosmic;
in {
imports = with inputs; [
@ -12,9 +13,9 @@ in {
];
options = {
desktop.cosmic.enable =
lib.mkEnableOption "enable cosmic desktop";
mkEnableOption "enable cosmic desktop";
};
config = lib.mkIf cfg.enable {
config = mkIf cfg.enable {
sound.pipewire.enable = true;
nix.settings = {
substituters = ["https://cosmic.cachix.org/"];