diff --git a/configuration.nix b/configuration.nix index c6a053f..69fc90a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -164,11 +164,11 @@ # nix.optimise.automatic = true; # Automatic Garbage Collection - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 15d"; - }; +# nix.gc = { +# automatic = true; +# dates = "weekly"; +# options = "--delete-older-than 15d"; +# }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/desktop_environnement.nix b/desktop_environnement.nix index 8e5d013..1dcdc51 100644 --- a/desktop_environnement.nix +++ b/desktop_environnement.nix @@ -15,6 +15,12 @@ # Enable XWayland support in COSMIC xwayland.enable = lib.mkDefault true; }; + # to avoid a timeout on shutdown, enable the GeoClue 2 service without the demo agent + # will not be needed in future version of cosmic : testing or 25.11 + geoclue2 = { + enable = true; + enableDemoAgent = false; + }; }; environment.sessionVariables = { diff --git a/flake.lock b/flake.lock index dcedf01..b45abd4 100644 --- a/flake.lock +++ b/flake.lock @@ -70,11 +70,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1749237914, - "narHash": "sha256-N5waoqWt8aMr/MykZjSErOokYH6rOsMMXu3UOVH5kiw=", + "lastModified": 1749857119, + "narHash": "sha256-tG5xUn3hFaPpAHYIvr2F88b+ovcIO5k1HqajFy7ZFPM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "70c74b02eac46f4e4aa071e45a6189ce0f6d9265", + "rev": "5f4f306bea96741f1588ea4f450b2a2e29f42b98", "type": "github" }, "original": {