summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-03-30 10:46:52 +0300
committertzlil <tzlils@protonmail.com>2023-03-30 10:46:52 +0300
commitfbbd1a6ee7cb8f4a221b9ec77f714778eb4ae7f4 (patch)
treefa37905011a2402f1787831043fe2180269607f0 /hosts
parentf93700b22836af7e92108c697f4638bca433b87e (diff)
cleanup, fmt, work on emacs, start hydrus booru integration
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/cfg.nix5
-rw-r--r--hosts/pc/cfg.nix1
-rw-r--r--hosts/vm/cfg.nix6
3 files changed, 6 insertions, 6 deletions
diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix
index 01d2f26..3fb53d0 100644
--- a/hosts/laptop/cfg.nix
+++ b/hosts/laptop/cfg.nix
@@ -19,6 +19,7 @@
     ../../mixins/sway.nix
     ../../mixins/pipewire.nix
     ../../mixins/multimedia.nix
+    ../../mixins/emacs
   ];
 
   config = {
@@ -59,7 +60,7 @@
       };
     };
 
-    hardware.firmware = [ pkgs.rtw88-firmware ];
+    hardware.firmware = [pkgs.rtw88-firmware];
 
     time.timeZone = lib.mkDefault "Israel";
 
@@ -97,7 +98,7 @@
 
     hardware.opengl = {
       enable = true;
-      extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ];
+      extraPackages = with pkgs; [rocm-opencl-icd rocm-opencl-runtime];
       driSupport = true;
       driSupport32Bit = true;
     };
diff --git a/hosts/pc/cfg.nix b/hosts/pc/cfg.nix
index aaf624c..38fb8c6 100644
--- a/hosts/pc/cfg.nix
+++ b/hosts/pc/cfg.nix
@@ -91,7 +91,6 @@
     };
 
     hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-    hardware.video.hidpi.enable = lib.mkDefault true;
     # greeter.initialSession = "sh -c hyprland";
   };
 }
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix
index 5c47612..79f00c4 100644
--- a/hosts/vm/cfg.nix
+++ b/hosts/vm/cfg.nix
@@ -84,15 +84,15 @@
 
     hardware.opengl = {
       enable = true;
-      extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ];
+      extraPackages = with pkgs; [rocm-opencl-icd rocm-opencl-runtime];
       driSupport = true;
       driSupport32Bit = true;
     };
 
     greeter.initialSession = "env WLR_RENDERER=pixman ${pkgs.sway.out}/bin/sway";
     # home-manager.users.tzlil.wayland.windowManager.sway.config.input."type:keyboard".xkb_variant = lib.mkForce "";
- 
+
     # nice to work with
-    security.sudo.wheelNeedsPassword = false; 
+    security.sudo.wheelNeedsPassword = false;
   };
 }