Browse Source

glotzbert: update

hydra
Astro 9 months ago
parent
commit
7201a221ec

+ 4
- 5
hosts/glotzbert/configuration.nix View File

@@ -16,7 +16,6 @@ in
16 16
   imports =
17 17
     [ # Include the results of the hardware scan.
18 18
       ./hardware-configuration.nix
19
-      ../../lib/admins.nix
20 19
     ];
21 20
 
22 21
   # Use the systemd-boot EFI boot loader.
@@ -94,10 +93,10 @@ in
94 93
       anonymousClients.allowAll = true;
95 94
     };
96 95
     extraConfig = ''
97
-      load-module module-tunnel-sink server=cibert.hq.c3d2.de
96
+      load-module module-tunnel-sink server=pulsebert.hq.c3d2.de
98 97
     '';
99 98
     extraClientConf = ''
100
-      default-server = cibert.hq.c3d2.de
99
+      default-server = pulsebert.hq.c3d2.de
101 100
     '';
102 101
   };
103 102
 
@@ -117,8 +116,8 @@ in
117 116
   };
118 117
   services.xserver.desktopManager = {
119 118
     gnome3.enable = true;
120
-    kodi.enable = false;
121
-    default = "gnome";
119
+    kodi.enable = true;
120
+    default = "kodi";
122 121
   };
123 122
 
124 123
   security.sudo = {

+ 1
- 1
hosts/glotzbert/hardware-configuration.nix View File

@@ -11,7 +11,7 @@
11 11
   boot.initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
12 12
   boot.kernelModules = [ "kvm-intel" "wl" "forcedeth" "b43" ];
13 13
   boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
14
-  boot.kernelParams = [ "irqpoll" ];  # noapic seems to improve things
14
+  boot.kernelParams = [ "irqpoll" "hpet=off" ];  # noapic seems to improve things
15 15
 
16 16
   fileSystems."/" =
17 17
     { device = "/dev/disk/by-uuid/4568bf11-6e40-4514-9bc9-3194a299c45f";

+ 24
- 0
hosts/glotzbert/x11vnc-service.nix View File

@@ -0,0 +1,24 @@
1
+{ stdenv, pkgs, ... }:
2
+
3
+with pkgs;
4
+stdenv.mkDerivation rec {
5
+  name = "x11vnc-service";
6
+  version = "0.0.0";
7
+  src = ./.;
8
+
9
+  buildInputs = [ x11vnc ];
10
+
11
+  dontBuild = true;
12
+  installPhase = ''
13
+    cat > $out/lib/systemd/user/x11vnc.service <<_EOF_
14
+    [Unit]
15
+    Description=VNC server
16
+    
17
+    [Service]
18
+    Type=simple
19
+    ExecStart=${x11vnc}/bin/x11vnc -shared -forever -passwd k-ot
20
+    Restart=on-failure
21
+    
22
+    _EOF_
23
+  '';
24
+}

Loading…
Cancel
Save