Commit 2e4022124881

Vincent Demeester <vincent@sbr.pm>
2022-06-29 13:53:03
systems/aomi: clean some configurations…
… for example, this is not a desktop (graphics) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cd1a16e
Changed files (1)
systems
systems/hosts/aomi.nix
@@ -61,13 +61,6 @@ in
     loader.systemd-boot.netbootxyz.enable = true;
     kernelPackages = pkgs.linuxPackages_latest;
     tmpOnTmpfs = true;
-    extraModulePackages = with pkgs.linuxPackages_latest; [
-      v4l2loopback
-    ];
-    kernelModules = [ "v4l2loopback" ];
-    extraModprobeConfig = ''
-      options v4l2loopback exclusive_caps=1
-    '';
     binfmt.registrations = {
       s390x-linux = {
         # interpreter = getEmulator "s390x-linux";
@@ -92,7 +85,7 @@ in
 
   profiles = {
     externalbuilder.enable = true;
-    desktop.i3.enable = true;
+    # desktop.i3.enable = true;
     laptop.enable = true;
     home = true;
     dev.enable = true;
@@ -124,13 +117,6 @@ in
     ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", RUN+="${pkgs.coreutils}/bin/chmod g+w /sys/class/backlight/%k/brightness"
   '';
 
-  environment.systemPackages = with pkgs; [
-    # force xbacklight to work
-    acpilight
-    brightnessctl
-    asciinema
-  ];
-
   services = {
     netdata.enable = true;
     logind.extraConfig = ''