2025-01-03 23:06:44 +01:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}:
|
2024-03-08 09:06:58 +01:00
|
|
|
|
2024-10-10 02:31:33 +02:00
|
|
|
let
|
|
|
|
cosmic-configuration = pkgs.substituteAllFiles {
|
|
|
|
name = "cosmic-configuration";
|
|
|
|
src = ./cosmic-config;
|
|
|
|
files = [ "." ]; # All files
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $share/share/cosmic
|
|
|
|
cp -rt $share/share/cosmic $out/*
|
|
|
|
'';
|
|
|
|
outputs = [ "out" "share" ];
|
|
|
|
|
|
|
|
wallpaper = ../../media/wallpaper.png;
|
|
|
|
corner_radii_theme = "2.0";
|
|
|
|
corner_radii_panel = "2";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2024-03-08 09:06:58 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-08-08 07:14:07 +02:00
|
|
|
"${inputs.cosmic-modules}/nixos/cosmic/module.nix"
|
2025-01-03 23:06:44 +01:00
|
|
|
"${self}/nix-os/generic/dconf.nix"
|
2024-03-08 09:06:58 +01:00
|
|
|
];
|
|
|
|
config = {
|
2024-04-19 22:51:28 +02:00
|
|
|
services.desktopManager.cosmic.enable = true;
|
2024-08-16 17:00:49 +02:00
|
|
|
environment.cosmic.excludePackages = with pkgs; [
|
|
|
|
cosmic-edit
|
|
|
|
cosmic-term
|
|
|
|
];
|
2024-10-02 18:32:05 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
2024-10-10 02:31:33 +02:00
|
|
|
(lib.hiPrio cosmic-configuration.share)
|
2025-01-03 23:06:44 +01:00
|
|
|
google-cursor
|
2024-10-02 18:32:05 +02:00
|
|
|
];
|
2024-10-02 23:56:34 +02:00
|
|
|
services.gnome.gnome-keyring.enable = true;
|
2025-01-03 23:06:44 +01:00
|
|
|
|
|
|
|
proot.dconf = {
|
|
|
|
rules."org/gnome/desktop/interface".cursor-theme = "GoogleDot-White";
|
|
|
|
profiles.user.rulesToApply = [
|
|
|
|
"org/gnome/desktop/interface"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
|
|
|
XCURSOR_SIZE = "16";
|
|
|
|
XCURSOR_THEME = "GoogleDot-White";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
|
|
|
|
[Settings]
|
|
|
|
gtk-cursor-theme-name=GoogleDot-White
|
|
|
|
gtk-application-prefer-dark-theme=true
|
|
|
|
'';
|
2024-03-08 09:06:58 +01:00
|
|
|
};
|
|
|
|
}
|