Browse Source

MOTD

pull/2/head
Emery Hemingway 7 months ago
parent
commit
cf4ef255c6
4 changed files with 13 additions and 9 deletions
  1. 3
    9
      hosts/pulsebert/configuration.nix
  2. 6
    0
      lib/motd
  3. 2
    0
      lib/mpd.nix
  4. 2
    0
      lib/users.nix

+ 3
- 9
hosts/pulsebert/configuration.nix View File

@@ -12,9 +12,9 @@ in {
12 12
     [ # Include the results of the hardware scan.
13 13
       ./hardware-configuration.nix
14 14
       ../../lib/admins.nix
15
-      ../../common.nix
16
-      ../../users.nix
17
-      ../../mpd.nix
15
+      ../../lib/common/common.nix
16
+      ../../lib/users.nix
17
+      ../../lib/mpd.nix
18 18
     ];
19 19
 
20 20
   # Use the systemd-boot EFI boot loader.
@@ -192,12 +192,6 @@ in {
192 192
 		type "pulse"
193 193
 		name "/proc"
194 194
 	}
195
-
196
-	audio_output {
197
-		type "pulse"
198
-		name "SDK"
199
-		server "dacbert.hq.c3d2.de"
200
-	}
201 195
     '';
202 196
 
203 197
   services.caddy = {

+ 6
- 0
lib/motd View File

@@ -0,0 +1,6 @@
1
+  ______    ______  
2
+ / / / /   / /\ \ \ 
3
+/ / / /   / /  \ \ \
4
+\ \ \ \  / /   / / /
5
+ \_\_\_\/_/   /_/_/ 
6
+                    

+ 2
- 0
lib/mpd.nix View File

@@ -9,12 +9,14 @@ let
9 9
     {
10 10
       dbFile = null;
11 11
       musicDirectory = "/mnt/storage/Music";
12
+/*
12 13
       extraConfig = ''
13 14
         database {
14 15
           plugin "proxy"
15 16
           host "storage-ng.hq.c3d2.de"
16 17
         }
17 18
       '';
19
+ */
18 20
     };
19 21
 in
20 22
 {

+ 2
- 0
lib/users.nix View File

@@ -1,6 +1,8 @@
1 1
 { pkgs, ... }:
2 2
 
3 3
 {
4
+  users.motd = builtins.readFile ./motd;
5
+
4 6
   users.users.k-ot = {
5 7
     packages = with pkgs;
6 8
       [ screen tmux ];

Loading…
Cancel
Save