diff --git a/ops/nixos/totoro/default.nix b/ops/nixos/totoro/default.nix index 1d3c9d355c..ae9ac8abbe 100644 --- a/ops/nixos/totoro/default.nix +++ b/ops/nixos/totoro/default.nix @@ -455,7 +455,7 @@ in { headers = "username:X-Pomerium-Claim-User"; auto_sign_up = "true"; }; - security.cookie_secure = "true"; + security.cookie_secure = true; }; }; systemd.services.grafana.preStart = let diff --git a/third_party/home-manager/modules/lib/file-type.nix b/third_party/home-manager/modules/lib/file-type.nix index cc23292ba0..840122858d 100644 --- a/third_party/home-manager/modules/lib/file-type.nix +++ b/third_party/home-manager/modules/lib/file-type.nix @@ -106,7 +106,8 @@ in target = mkDefault name; source = mkIf (config.text != null) ( mkDefault (pkgs.writeTextFile { - inherit (config) executable text; + inherit (config) text; + executable = if isNull config.executable then false else config.executable; name = hm.strings.storeFileName name; }) );