summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-04 21:56:23 +0200
committerAlan Pearce2019-10-04 21:56:23 +0200
commitc729b723076fa4e0c3112ab7d4a48a4a59c77948 (patch)
tree07d8bb86757ac0d65348715e70c4ea35f41abf7a
parent32259e9f49a9e4d7790f4fd694d573355c89a943 (diff)
downloadnixfiles-c729b723076fa4e0c3112ab7d4a48a4a59c77948.tar.lz
nixfiles-c729b723076fa4e0c3112ab7d4a48a4a59c77948.tar.zst
nixfiles-c729b723076fa4e0c3112ab7d4a48a4a59c77948.zip
Inline ledger configuration
-rw-r--r--user/ledger/.ledgerrc2
-rw-r--r--user/modules/ledger.nix5
2 files changed, 4 insertions, 3 deletions
diff --git a/user/ledger/.ledgerrc b/user/ledger/.ledgerrc
deleted file mode 100644
index 319a2029..00000000
--- a/user/ledger/.ledgerrc
+++ /dev/null
@@ -1,2 +0,0 @@
---date-format %F
---start-of-week 1
diff --git a/user/modules/ledger.nix b/user/modules/ledger.nix
index 05102153..61d3df7e 100644
--- a/user/modules/ledger.nix
+++ b/user/modules/ledger.nix
@@ -1,5 +1,8 @@
 { config, pkgs, ... }:
 
 {
-  home.file.".ledgerrc".source = ../ledger/.ledgerrc;
+  home.file.".ledgerrc".text = ''
+    --date-format %F
+    --start-of-week 1
+  '';
 }