about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix
index 81df308..bf8b46c 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
 
 let
-  util = import ./util.nix;
+  util = import ./util.nix { inherit lib; };
 
-  me = import ./me.nix { inherit util; };
+  me = util.checkMe (import ./me.nix);
   security = import ./security.nix;
 in
 {
@@ -33,6 +33,14 @@ in
     hashedPassword = security.password;
   };
 
+  users.motd = ''
+
+/^  /^
+\ ' ' 7   < Hi, I'm ${util.titleCase me.name}
+/    \
+
+  '';
+
   networking = {
     hostName = me.name;
 
@@ -85,7 +93,12 @@ in
         vimrcFile = ./configs/.vimrc;
       };
     };
-    fish.enable = true;
+    fish = {
+      enable = true;
+      interactiveShellInit = ''
+        set fish_greeting
+      '';
+    };
     git.enable = true;
     tmux.enable = true;
   };