about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 21:04:29 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 21:04:29 +0200
commit1e1c9a93f25074cea69091ccdd50dec73fb4dcaf (patch)
tree2c751081bbad767705223bee947a8fb4974e17f4
parentfeat(sys/pkgs/scripts/update-sys): Enable completions (diff)
downloadnixos-config-1e1c9a93f25074cea69091ccdd50dec73fb4dcaf.tar.gz
nixos-config-1e1c9a93f25074cea69091ccdd50dec73fb4dcaf.zip
style(treewide): Format
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/python/pythonrc.py4
-rw-r--r--sys/svcs/nix/default.nix1
2 files changed, 3 insertions, 2 deletions
diff --git a/hm/soispha/conf/python/pythonrc.py b/hm/soispha/conf/python/pythonrc.py
index 940ebaec..466d9788 100644
--- a/hm/soispha/conf/python/pythonrc.py
+++ b/hm/soispha/conf/python/pythonrc.py
@@ -1,10 +1,12 @@
 #!/usr/bin/env python3
 
+
 def is_vanilla() -> bool:
     import sys
 
     return not hasattr(__builtins__, "__IPYTHON__") and "bpython" not in sys.argv[0]
 
+
 def setup_history():
     import os
     import atexit
@@ -19,7 +21,7 @@ def setup_history():
     history: Path = state_home / "python" / "history"
 
     if not os.path.exists(history):
-        open(history, 'w')
+        open(history, "w")
 
     readline.read_history_file(str(history))
     atexit.register(readline.write_history_file, str(history))
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix
index 24c72b97..23d1888c 100644
--- a/sys/svcs/nix/default.nix
+++ b/sys/svcs/nix/default.nix
@@ -1,6 +1,5 @@
 {
   pkgs,
-  lib,
   # flakes
   nixpkgs_as_input,
   templates,