summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
+  '';
 }