Opentabletdriver module and cleanup
This commit is contained in:
parent
42935759a3
commit
fec002c10b
5 changed files with 19 additions and 34 deletions
31
flake.nix
31
flake.nix
|
|
@ -111,12 +111,16 @@
|
|||
|
||||
# Some basic defaults
|
||||
./nixos/basics
|
||||
];
|
||||
|
||||
{
|
||||
age.secrets = {
|
||||
# ollama = { file = ./secrets/ollama.age; owner = "bertof"; };
|
||||
};
|
||||
}
|
||||
mainModules = [
|
||||
./nixos/pro_audio.nix
|
||||
./nixos/kdeconnect.nix
|
||||
./nixos/steam.nix
|
||||
./nixos/opentabletdriver.nix
|
||||
|
||||
./nixos/hyprland.nix
|
||||
{ home-manager.users.bertof.imports = [ ./hm/hyprland.nix ]; }
|
||||
];
|
||||
|
||||
installerModules = commonModules ++ [ ./nixos/installer.nix ];
|
||||
|
|
@ -245,7 +249,7 @@
|
|||
nixosConfigurations = {
|
||||
thor = inputs.nixpkgs-u.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = commonModules ++ [
|
||||
modules = commonModules ++ mainModules ++ [
|
||||
./instances/thor/hardware-configuration.nix
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
||||
inputs.nixos-hardware.nixosModules.common-pc-ssd
|
||||
|
|
@ -254,12 +258,9 @@
|
|||
# # S3 cache write
|
||||
# ./nixos/s3_cache_write.nix
|
||||
|
||||
./nixos/plasma6.nix
|
||||
# ./nixos/plasma6.nix
|
||||
# ./nixos/cuda_support.nix
|
||||
# ./nixos/ollama.nix
|
||||
./nixos/pro_audio.nix
|
||||
./nixos/kdeconnect.nix
|
||||
./nixos/steam.nix
|
||||
# ./nixos/minio_local.nix
|
||||
|
||||
./nixos/hyprland.nix
|
||||
|
|
@ -276,7 +277,7 @@
|
|||
|
||||
sif = inputs.nixpkgs-u.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = commonModules ++ [
|
||||
modules = commonModules ++ mainModules ++ [
|
||||
./instances/sif/hardware-configuration.nix
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
|
@ -289,15 +290,9 @@
|
|||
|
||||
# ./nixos/plasma6.nix
|
||||
# ./nixos/ollama.nix
|
||||
./nixos/pro_audio.nix
|
||||
./nixos/kdeconnect.nix
|
||||
./nixos/steam.nix
|
||||
# ./nixos/minio_local.nix
|
||||
|
||||
./nixos/hyprland.nix
|
||||
{ home-manager.users.bertof.imports = [ ./hm/hyprland.nix ]; }
|
||||
|
||||
./nixos/musa.nix
|
||||
# ./nixos/musa.nix
|
||||
] ++ homeManagerUModules ++ [{
|
||||
age.secrets = {
|
||||
rclone_bertof = { file = ./secrets/rclone_bertof.age; owner = "bertof"; };
|
||||
|
|
|
|||
|
|
@ -49,13 +49,6 @@
|
|||
};
|
||||
|
||||
enableRedistributableFirmware = true;
|
||||
|
||||
|
||||
# Tablet
|
||||
opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
|
|
|||
|
|
@ -89,10 +89,6 @@
|
|||
# package = pkgs.bluezFull;
|
||||
};
|
||||
enableRedistributableFirmware = true;
|
||||
opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
};
|
||||
xpadneo.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
6
nixos/opentabletdriver.nix
Normal file
6
nixos/opentabletdriver.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -22,9 +22,4 @@ in
|
|||
|
||||
# XP-Pen tablet driver
|
||||
environment.systemPackages = [ drivers ];
|
||||
|
||||
# hardware.opentabletdriver = {
|
||||
# enable = true;
|
||||
# daemon.enable = true;
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue