From 6dbf9ecd28f67b89d8a029b57766ec4a7816ea6d Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Mon, 24 Jul 2023 20:02:38 -0600 Subject: [PATCH] opentabletdriver --- configuration.nix | 15 ++++++++++++--- configuration.org | 15 ++++++++++++--- hardware-configuration.nix | 17 ++++++++++++----- 3 files changed, 36 insertions(+), 11 deletions(-) diff --git a/configuration.nix b/configuration.nix index f22a274..82de287 100644 --- a/configuration.nix +++ b/configuration.nix @@ -138,7 +138,7 @@ blender # cgi animation and sculpting godot # game development gdtoolkit # gdscript language server krita # art to your heart desire! -drawpile # arty party with friends!! +# drawpile # arty party with friends!! mypaint # not the best art program mypaint-brushes # but it's got some mypaint-brushes1 # nice damn brushes @@ -366,6 +366,7 @@ symbola tactile # window manager pano # clipboard manager blur-my-shell # make the overview more visually appealing + # burn-my-windows # forge # window manager # ]) ++ (with unstable.pkgs.gnomeExtensions; [ @@ -396,7 +397,7 @@ programs.fish = { edit = "emacsclient -t"; comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)"; gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)"; - open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)"; + open_gallery = "open (cd /mnt/disk2/scrapping/JawZ/gallery-dl && fd . ./ Husbands kemonoparty -tdirectory -d 1 | fzf)"; unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u"; cp = "cp -i"; mv = "mv -i"; @@ -592,6 +593,7 @@ snapraid = { "/multimedia/downloads/" "/scrapping/nextcloud/" "/backups/" + "/glue/Chaturbate/" ]; dataDisks = { d1 = "/mnt/disk1/"; @@ -656,12 +658,19 @@ services = { } ]; }; - # udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; emacs = { enable = true; defaultEditor = true; package = pkgs.emacs; }; + # udev = { + # packages = with pkgs; [ gnome.gnome-settings-daemon ]; + # extraRules = '' + # SUBSYSTEM=="hidraw", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", MODE="0666" + # SUBSYSTEM=="usb", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", MODE="0666" + # SUBSYSTEM=="input", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", ENV{LIBINPUT_IGNORE_DEVICE}="1" + # ''; + # }; }; systemd.services = { diff --git a/configuration.org b/configuration.org index 259d3ce..e72aca5 100755 --- a/configuration.org +++ b/configuration.org @@ -268,7 +268,7 @@ blender # cgi animation and sculpting godot # game development gdtoolkit # gdscript language server krita # art to your heart desire! -drawpile # arty party with friends!! +# drawpile # arty party with friends!! mypaint # not the best art program mypaint-brushes # but it's got some mypaint-brushes1 # nice damn brushes @@ -563,6 +563,7 @@ symbola tactile # window manager pano # clipboard manager blur-my-shell # make the overview more visually appealing + # burn-my-windows # forge # window manager # ]) ++ (with unstable.pkgs.gnomeExtensions; [ #+end_src @@ -624,7 +625,7 @@ programs.fish = { edit = "emacsclient -t"; comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)"; gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)"; - open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)"; + open_gallery = "open (cd /mnt/disk2/scrapping/JawZ/gallery-dl && fd . ./ Husbands kemonoparty -tdirectory -d 1 | fzf)"; unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u"; cp = "cp -i"; mv = "mv -i"; @@ -874,6 +875,7 @@ snapraid = { "/multimedia/downloads/" "/scrapping/nextcloud/" "/backups/" + "/glue/Chaturbate/" ]; dataDisks = { d1 = "/mnt/disk1/"; @@ -944,12 +946,19 @@ services = { } ]; }; - # udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; emacs = { enable = true; defaultEditor = true; package = pkgs.emacs; }; + # udev = { + # packages = with pkgs; [ gnome.gnome-settings-daemon ]; + # extraRules = '' + # SUBSYSTEM=="hidraw", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", MODE="0666" + # SUBSYSTEM=="usb", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", MODE="0666" + # SUBSYSTEM=="input", ATTRS{idVendor}=="256c", ATTRS{idProduct}=="006d", ENV{LIBINPUT_IGNORE_DEVICE}="1" + # ''; + # }; }; #+end_src diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 49137d9..3101f2e 100755 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,7 +1,13 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: { +{ config, lib, pkgs, modulesPath, ... }: + +let + unstable_tarball = + builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master"; + unstable = import unstable_tarball { config = config.nixpkgs.config; }; +in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { #plymouth = { enable = true; }; @@ -145,10 +151,11 @@ cpu.intel.updateMicrocode = lib.mkDefault true; bluetooth.enable = true; # huion driver - # opentabletdriver = { - # enable = true; - # daemon.enable = true; - # }; + opentabletdriver = { + enable = true; + package = unstable.opentabletdriver; + daemon.enable = true; + }; # nvidia driver nvidia.modesetting.enable = true; opengl = {