framework: fix cosmic conf

This commit is contained in:
tristan 2025-06-24 15:13:16 +01:00
parent cfee0454fd
commit 960165b769
3 changed files with 7 additions and 15 deletions

View file

@ -69,6 +69,7 @@
home-modules = [ home-modules = [
./home/programs/work.nix ./home/programs/work.nix
./home/programs/graphical.nix ./home/programs/graphical.nix
./home/desktop/cosmic/.
]; ];
}; };

View file

@ -47,16 +47,7 @@ in {
output = "all"; output = "all";
rotation_frequency = 600; rotation_frequency = 600;
sampling_method = mkRON "enum" "Alphanumeric"; sampling_method = mkRON "enum" "Alphanumeric";
scaling_mode = mkRON "enum" { scaling_mode = mkRON "enum" "Zoom";
value = [
(mkRON "tuple" [
0.5
1.0
(mkRON "raw" "0.345354352")
])
];
variant = "Fit";
};
source = mkRON "enum" { source = mkRON "enum" {
value = [ (toString config.stylix.image) ]; value = [ (toString config.stylix.image) ];
variant = "Path"; variant = "Path";

View file

@ -1,8 +1,8 @@
{ {...}: {
inputs,
config,
...
}: {
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true; services.displayManager.cosmic-greeter.enable = true;
# fix for shutdown, not yet in 25.05
# https://github.com/NixOS/nixpkgs/pull/412260/commits/27c3430d620adfed574674e36a89a52be80f01d9
services.geoclue2.enable = true;
services.geoclue2.enableDemoAgent = false;
} }