about summary refs log tree commit diff
path: root/hosts/phobos
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/phobos')
-rw-r--r--hosts/phobos/default.nix32
-rw-r--r--hosts/phobos/home.nix44
2 files changed, 46 insertions, 30 deletions
diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix
index b8d6f69..b30bf1e 100644
--- a/hosts/phobos/default.nix
+++ b/hosts/phobos/default.nix
@@ -1,5 +1,13 @@
-{ config, pkgs, lib, secrets, hostname, inputs, user, ... }: {
-
+{
+  config,
+  pkgs,
+  lib,
+  secrets,
+  hostname,
+  inputs,
+  user,
+  ...
+}: {
   imports = [
     ../../modules/bluetooth
   ];
@@ -19,18 +27,18 @@
     # proxy.noProxy = "127.0.0.1,localhost,internal.domain";
   };
 
-  environment.systemPackages = with pkgs;
-    [
-    ];
+  environment.systemPackages = with pkgs; [
+  ];
 
   programs = {
     steam.enable = true;
   };
 
-  /*  services.udev.extraRules = ''
-    SUBSYSTEM=="input", ACTION=="add", ATTRS{bInterfaceProtocol}=="02", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceSubClass}=="01", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/${user}/.Xauthority", RUN+="${pkgs.xorg.xf86inputsynaptics}/bin/synclient TouchpadOff=1"
-    SUBSYSTEM=="input", ACTION=="remove", ATTRS{bInterfaceProtocol}=="02", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceSubClass}=="01", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/${user}/.Xauthority", RUN+="${pkgs.xorg.xf86inputsynaptics}/bin/synclient TouchpadOff=0"
-    '';
+  /*
+    services.udev.extraRules = ''
+  SUBSYSTEM=="input", ACTION=="add", ATTRS{bInterfaceProtocol}=="02", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceSubClass}=="01", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/${user}/.Xauthority", RUN+="${pkgs.xorg.xf86inputsynaptics}/bin/synclient TouchpadOff=1"
+  SUBSYSTEM=="input", ACTION=="remove", ATTRS{bInterfaceProtocol}=="02", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceSubClass}=="01", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/${user}/.Xauthority", RUN+="${pkgs.xorg.xf86inputsynaptics}/bin/synclient TouchpadOff=0"
+  '';
   */
 
   services.boinc = {
@@ -38,8 +46,6 @@
     dataDir = "/var/lib/boinc";
   };
 
-  users.users.${user}.extraGroups = [ "boinc" ];
-  users.users.boinc.extraGroups = [ "video" ];
-
+  users.users.${user}.extraGroups = ["boinc"];
+  users.users.boinc.extraGroups = ["video"];
 }
-
diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix
index 4dd57fd..a74ab86 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -1,15 +1,26 @@
-{ config, lib, pkgs, inputs, user, hostname, location, secrets, dotfiles, ... }:
 {
-  home.packages = with pkgs; [
-    minecraft
-    trackma
-    adl
-    jetbrains.idea-community
-    gimp
-    godot_4
-  ] ++
-  (with pkgs.custom; [
-  ]);
+  config,
+  lib,
+  pkgs,
+  inputs,
+  user,
+  hostname,
+  location,
+  secrets,
+  dotfiles,
+  ...
+}: {
+  home.packages = with pkgs;
+    [
+      minecraft
+      trackma
+      adl
+      jetbrains.idea-community
+      gimp
+      godot_4
+    ]
+    ++ (with pkgs.custom; [
+      ]);
 
   programs.firefox.profiles.default.settings = {
     "gfx.webrender.all" = true;
@@ -41,13 +52,13 @@
     '';
 
     "sxhkd/sxhkdrc".text =
-      builtins.readFile "${dotfiles}/sxhkd/xmonad" +
-      builtins.readFile "${dotfiles}/sxhkd/base" +
-      ''
-      
+      builtins.readFile "${dotfiles}/sxhkd/xmonad"
+      + builtins.readFile "${dotfiles}/sxhkd/base"
+      + ''
+
         # Not supported by swhkd
         #enter and leave game mode
-        #alt + shift + F11: ctrl + shift + F11 
+        #alt + shift + F11: ctrl + shift + F11
         #    pkill -ALRM sxhkd
 
         # Make sxhkd reload its configuration files
@@ -116,5 +127,4 @@
         #	exec ~/.config/i3/scripts/toggletouchpad.sh
       '';
   };
-
 }