From 655044ccf23e7992b0a15ea01061dce2ad140577 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 11 May 2024 17:10:54 +0100 Subject: [PATCH] Change path for nixos flake to use sudo --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index df13a1b..b5abdfc 100644 --- a/init.el +++ b/init.el @@ -326,7 +326,7 @@ (defun my/open-nixos-flake () "Open NixOS system config flake." (interactive) - (let ((flake "/etc/nixos/flake.nix")) + (let ((flake "/sudo::/etc/nixos/flake.nix")) (if (file-exists-p flake) (find-file flake) (warn (concat flake " not found")))))