Revert "Change path for nixos flake to use sudo"
This reverts commit 655044ccf2
.
This commit is contained in:
parent
655044ccf2
commit
da3cdbd747
2
init.el
2
init.el
|
@ -326,7 +326,7 @@
|
||||||
(defun my/open-nixos-flake ()
|
(defun my/open-nixos-flake ()
|
||||||
"Open NixOS system config flake."
|
"Open NixOS system config flake."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((flake "/sudo::/etc/nixos/flake.nix"))
|
(let ((flake "/etc/nixos/flake.nix"))
|
||||||
(if (file-exists-p flake)
|
(if (file-exists-p flake)
|
||||||
(find-file flake)
|
(find-file flake)
|
||||||
(warn (concat flake " not found")))))
|
(warn (concat flake " not found")))))
|
||||||
|
|
Loading…
Reference in a new issue