about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-12-12 13:57:33 +0800
committerGitHub <noreply@github.com>2022-12-12 13:57:33 +0800
commit96ba5e03af00766e3210993f6902e6b92c621b91 (patch)
tree625f94f5a4eadd53ccaf15ca26f7044ddae3bf96 /nixos
parent0b6ed25d9f49ff3c8e2e50c05798b696930e1fb7 (diff)
parentad35d94ecc75db6dccebe18d83cd71a92f3b16cb (diff)
downloadnixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar.gz
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar.bz2
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar.lz
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar.xz
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.tar.zst
nixlib-96ba5e03af00766e3210993f6902e6b92c621b91.zip
Merge pull request #204252 from SamLukeYes/xonshrc
xonsh: migrate to /etc/xonsh/xonshrc
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/xonsh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/xonsh.nix b/nixos/modules/programs/xonsh.nix
index 3223761f9340..7202ed06c6af 100644
--- a/nixos/modules/programs/xonsh.nix
+++ b/nixos/modules/programs/xonsh.nix
@@ -46,8 +46,8 @@ in
 
   config = mkIf cfg.enable {
 
-    environment.etc.xonshrc.text = ''
-      # /etc/xonshrc: DO NOT EDIT -- this file has been generated automatically.
+    environment.etc."xonsh/xonshrc".text = ''
+      # /etc/xonsh/xonshrc: DO NOT EDIT -- this file has been generated automatically.
 
 
       if not ''${...}.get('__NIXOS_SET_ENVIRONMENT_DONE'):