feat(mice): solaar -> ratbagd/piper
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-24 17:44:08 -04:00
parent b7b25ea3cc
commit 31c3dbb205
4 changed files with 6 additions and 54 deletions

View file

@ -10,8 +10,8 @@ in {
../../modules/hyprland ../../modules/hyprland
../../modules/kmscon.nix ../../modules/kmscon.nix
../../modules/printer.nix ../../modules/printer.nix
../../modules/ratbag-mice.nix
../../modules/razer.nix ../../modules/razer.nix
../../modules/logitech.nix
../../modules/sshd.nix ../../modules/sshd.nix
../../modules/tailscale.nix ../../modules/tailscale.nix

View file

@ -204,22 +204,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
@ -1583,7 +1567,6 @@
"pointer-event-src": "pointer-event-src", "pointer-event-src": "pointer-event-src",
"pokemon-colorscripts-src": "pokemon-colorscripts-src", "pokemon-colorscripts-src": "pokemon-colorscripts-src",
"secrets": "secrets", "secrets": "secrets",
"solaar": "solaar",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"subsync": "subsync", "subsync": "subsync",
"touch-gestures-src": "touch-gestures-src", "touch-gestures-src": "touch-gestures-src",
@ -1633,27 +1616,6 @@
"url": "ssh://git@git.nelim.org/matt1432/nixos-secrets" "url": "ssh://git@git.nelim.org/matt1432/nixos-secrets"
} }
}, },
"solaar": {
"inputs": {
"flake-compat": "flake-compat_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1713808175,
"narHash": "sha256-GB8y5ml5nKUylTrJFJ4bUgiaGpLvH5Q3PvgJ3ZVebLE=",
"owner": "Svenum",
"repo": "Solaar-Flake",
"rev": "9667c00bae54130c0df321e92577df00b2f01835",
"type": "github"
},
"original": {
"owner": "Svenum",
"repo": "Solaar-Flake",
"type": "github"
}
},
"sops-nix": { "sops-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [

View file

@ -250,14 +250,6 @@
# #
# Desktop inputs # Desktop inputs
solaar = {
type = "github";
owner = "Svenum";
repo = "Solaar-Flake";
inputs.nixpkgs.follows = "nixpkgs";
};
## Hyprland ## Hyprland
hyprland = { hyprland = {
type = "github"; type = "github";

View file

@ -1,7 +1,7 @@
{ {
config, config,
lib, lib,
solaar, pkgs,
... ...
}: let }: let
inherit (config.vars) mainUser; inherit (config.vars) mainUser;
@ -15,16 +15,14 @@
.windowManager .windowManager
.hyprland; .hyprland;
in { in {
imports = [ services.ratbagd.enable = true;
solaar.nixosModules.default
];
programs.solaar.enable = true;
# HOME-MANAGER CONFIG # HOME-MANAGER CONFIG
home-manager.users.${mainUser} = { home-manager.users.${mainUser} = {
home.packages = with pkgs; [piper];
wayland.windowManager.hyprland = mkIf (cfgHypr.enable) { wayland.windowManager.hyprland = mkIf (cfgHypr.enable) {
settings.exec-once = ["solaar -w hide -b symbolic"]; # settings.exec-once = [""];
}; };
}; };
} }