feature(cosmic): added cosmic-tweaks

This commit is contained in:
Serĉanto de Scio 2024-10-03 18:58:50 +10:00
parent aac1b4722b
commit 1d6c223a82
Signed by: sercanto
GPG key ID: A4122FF3971B6865
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,7 @@
with lib; let with lib; let
cfg = config.profiles.cosmicDesktop; cfg = config.profiles.cosmicDesktop;
cosmicDesktop = inputs.cosmicDesktop; cosmicDesktop = inputs.cosmicDesktop;
cosmic-tweaks = cosmicDesktop.packages."${pkgs.system}".cosmic-tweaks;
in { in {
options.profiles.cosmicDesktop = { options.profiles.cosmicDesktop = {
enable = mkEnableOption "to enable the Cosmic desktop."; enable = mkEnableOption "to enable the Cosmic desktop.";
@ -18,6 +19,9 @@ in {
substituters = ["https://cosmic.cachix.org/"]; substituters = ["https://cosmic.cachix.org/"];
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="]; trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
}; };
environment.systemPackages = with pkgs; [
cosmic-tweaks
];
services = { services = {
desktopManager.cosmic.enable = true; desktopManager.cosmic.enable = true;
displayManager.cosmic-greeter.enable = true; displayManager.cosmic-greeter.enable = true;

View file

@ -15,6 +15,7 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
brave # Privacy-oriented browser brave # Privacy-oriented browser
chromium chromium
cosmic-tweaks
element-desktop # A feature-rich client for Matrix.org element-desktop # A feature-rich client for Matrix.org
firefox # A web browser built from Firefox source tree firefox # A web browser built from Firefox source tree
librewolf # Firefox fork, focused on privacy, security and freedom librewolf # Firefox fork, focused on privacy, security and freedom