Compare commits

..

2 commits

Author SHA1 Message Date
5f06131076 nixos/cosmic: set default cursor theme 2025-01-04 00:49:57 +01:00
a231968592 nixos/cosmic: update config defaults 2025-01-03 23:06:20 +01:00
3 changed files with 30 additions and 4 deletions

View file

@ -2,8 +2,8 @@ Some(([
"com.system76.CosmicPanelAppButton", "com.system76.CosmicPanelAppButton",
"com.system76.CosmicAppletWorkspaces", "com.system76.CosmicAppletWorkspaces",
], [ ], [
"com.system76.CosmicAppletInputSources",
"com.system76.CosmicAppletStatusArea", "com.system76.CosmicAppletStatusArea",
"com.system76.CosmicAppletInputSources",
"com.system76.CosmicAppletTiling", "com.system76.CosmicAppletTiling",
"com.system76.CosmicAppletAudio", "com.system76.CosmicAppletAudio",
"com.system76.CosmicAppletNetwork", "com.system76.CosmicAppletNetwork",

View file

@ -1,4 +1,10 @@
{ inputs, lib, pkgs, ... }: {
inputs,
lib,
pkgs,
self,
...
}:
let let
cosmic-configuration = pkgs.substituteAllFiles { cosmic-configuration = pkgs.substituteAllFiles {
@ -20,6 +26,7 @@ in
{ {
imports = [ imports = [
"${inputs.cosmic-modules}/nixos/cosmic/module.nix" "${inputs.cosmic-modules}/nixos/cosmic/module.nix"
"${self}/nix-os/generic/dconf.nix"
]; ];
config = { config = {
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;
@ -29,7 +36,26 @@ in
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(lib.hiPrio cosmic-configuration.share) (lib.hiPrio cosmic-configuration.share)
google-cursor
]; ];
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
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
'';
}; };
} }