summaryrefslogtreecommitdiff
path: root/config/environment.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2026-11-29 17:24:18 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2026-11-29 17:42:35 +0100
commitce831333a24011d0692f6871047fe74eab9fab8c (patch)
tree9bb971e2afe0a4b22c73274e8b8e8d05d014401d /config/environment.nix
downloadhermaphroditos-ce831333a24011d0692f6871047fe74eab9fab8c.tar.gz
hermaphroditos-ce831333a24011d0692f6871047fe74eab9fab8c.tar.bz2
hermaphroditos-ce831333a24011d0692f6871047fe74eab9fab8c.tar.xz
initial commit
Diffstat (limited to 'config/environment.nix')
-rw-r--r--config/environment.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/environment.nix b/config/environment.nix
new file mode 100644
index 0000000..072c3fb
--- /dev/null
+++ b/config/environment.nix
@@ -0,0 +1,17 @@
+{ lib, pkgs, ... }:
+
+{
+ personal.environment = {
+ enable = true;
+ locale.enable = true;
+ };
+
+ programs.bash.promptInit = ''
+ PS1="\n\[\033[1;32m\][\[\e]0;\u@$(hostname -f): \w\a\]\u@$(hostname -f):\w]\$\[\033[0m\] "
+ '';
+ console = {
+ earlySetup = true;
+ font = lib.mkForce "ter-v32n";
+ packages = with pkgs; [ terminus_font ];
+ };
+}