1771993195

This commit is contained in:
2026-02-24 21:19:55 -07:00
parent 9ad1b9e275
commit 8438ba2934
2 changed files with 46 additions and 84 deletions

View File

@@ -1,8 +1,13 @@
{ ... }: { pkgs, ... }:
{ {
services.desktopManager.cosmic.enable = true; services.xserver.enable = true;
services.displayManager.cosmic-greeter.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.printing.enable = true; services.printing.enable = true;
environment.gnome.excludePackages = with pkgs; [
epiphany
];
} }

View File

@@ -1,92 +1,49 @@
{ config, cosmicLib, ... }: { config, ... }:
{ {
wayland.desktopManager.cosmic = { dconf.settings = {
enable = true; "org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
accent-color = "pink";
icon-theme = "Cosmic";
appearance = { clock-show-weekday = true;
theme = { clock-show-date = true;
mode = "dark"; clock-format = "12h";
dark = {
# Pink accent color
accent = cosmicLib.cosmic.mkRON "optional" {
red = 0.91;
green = 0.29;
blue = 0.60;
};
};
};
toolkit = {
apply_theme_global = true;
show_maximize = true;
show_minimize = true;
icon_theme = "Cosmic";
interface_density = cosmicLib.cosmic.mkRON "enum" "Standard";
};
}; };
wallpapers = [ "org/gnome/desktop/wm/preferences" = {
{ button-layout = "appmenu:minimize,maximize,close";
output = "all";
source = cosmicLib.cosmic.mkRON "enum" {
value = [ "${config.home.homeDirectory}/Assets/wallpapers/sound.png" ];
variant = "Path";
};
scaling_mode = cosmicLib.cosmic.mkRON "enum" "Zoom";
filter_method = cosmicLib.cosmic.mkRON "enum" "Lanczos";
filter_by_theme = false;
sampling_method = cosmicLib.cosmic.mkRON "enum" "Alphanumeric";
rotation_frequency = 0;
}
];
compositor = {
autotile = false;
active_hint = true;
# Flat mouse acceleration (no accel)
input_default = {
acceleration = cosmicLib.cosmic.mkRON "optional" {
profile = cosmicLib.cosmic.mkRON "optional" (cosmicLib.cosmic.mkRON "enum" "Flat");
speed = 0.0;
};
};
}; };
shortcuts = [ "org/gnome/desktop/background" = {
{ picture-uri = "file://${config.home.homeDirectory}/Assets/wallpapers/sound.png";
# Super+B -> Open browser picture-uri-dark = "file://${config.home.homeDirectory}/Assets/wallpapers/sound.png";
action = cosmicLib.cosmic.mkRON "enum" { picture-options = "zoom";
variant = "Spawn"; };
value = [ "librewolf" ];
};
key = "Super+b";
description = cosmicLib.cosmic.mkRON "optional" "Open Browser";
}
{
# Super+E -> Open file manager
action = cosmicLib.cosmic.mkRON "enum" {
variant = "Spawn";
value = [ "cosmic-files" ];
};
key = "Super+e";
description = cosmicLib.cosmic.mkRON "optional" "Open File Manager";
}
{
action = cosmicLib.cosmic.mkRON "enum" {
value = [
(cosmicLib.cosmic.mkRON "enum" "WorkspaceOverview")
];
variant = "System";
};
key = "Super";
}
];
applets.time.settings = { "org/gnome/desktop/peripherals/mouse" = {
show_weekday = true; accel-profile = "flat";
show_date_in_top_panel = true; };
military_time = false;
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
name = "Open Browser";
binding = "<Super>b";
command = "librewolf";
};
# Super+E -> Open File Manager
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
name = "Open File Manager";
binding = "<Super>e";
command = "nautilus";
}; };
}; };
} }