@ -21,18 +21,28 @@ in {
|
||||
substituters = ["https://cosmic.cachix.org/"];
|
||||
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
||||
};
|
||||
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
|
||||
systemd.packages = [pkgs.observatory];
|
||||
systemd.services.monitord.wantedBy = ["multi-user.target"];
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
services = {
|
||||
gnome.gnome-keyring.enable = true;
|
||||
dbus = {
|
||||
apparmor = "enabled";
|
||||
implementation = "broker";
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-cosmic
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
config.common.default = [
|
||||
"cosmic"
|
||||
"gtk"
|
||||
];
|
||||
config.cosmic = {
|
||||
default = ["cosmic" "gtk"];
|
||||
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./common/pipewire.nix
|
||||
# ./cosmic.nix
|
||||
./cosmic.nix
|
||||
./gnome.nix
|
||||
./hyprland.nix
|
||||
./niri.nix
|
||||
|
Reference in New Issue
Block a user