From 39ae21041f41de8d504676360aef7760872d1efd Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 23 Sep 2023 20:08:16 +0200 Subject: [PATCH] chore: minor fixes --- hosts/configuration.nix | 2 ++ modules/services/flameshot.nix | 11 ++++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 4c7c209..2977716 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -30,6 +30,8 @@ security.sudo.wheelNeedsPassword = true; + programs.dconf.enable = true; + time.timeZone = "Europe/Prague"; # Time zone and internationalisation i18n = { defaultLocale = "en_US.UTF-8"; diff --git a/modules/services/flameshot.nix b/modules/services/flameshot.nix index 3e4c434..1c4555f 100644 --- a/modules/services/flameshot.nix +++ b/modules/services/flameshot.nix @@ -22,12 +22,9 @@ in { }; }; - home.activations = { - ensureScreensDirCreated = { - after = [ "writeBoundary" ]; - data = '' - mkdir -p ${screensDir} - ''; - }; + home.activation = { + ensureScreensDirCreated = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + mkdir -p ${screensDir} + ''; }; } -- 2.48.1