moved all of my config into this nix flake

This commit is contained in:
Sebastian Moser
2023-10-28 19:10:37 +02:00
parent 9facde9d3a
commit 112ef46fd2
46 changed files with 3545 additions and 0 deletions

17
scripts/size.py Normal file
View File

@@ -0,0 +1,17 @@
import sys
s = 0
for line in sys.stdin:
(val, unit) = line.split(" ")
val = float(val)
if "MiB" in unit:
val *= 1000
s += val
print("MB: ", round(s/1000))
print("GB: ", round(s/1000000))