made sxhkd actually work moved to a different file and merged with nixosConfigurations

This commit is contained in:
ISnortPennies 2023-01-29 23:42:43 -05:00
parent 4ad79a70d1
commit 6f6302e27a
4 changed files with 6 additions and 10 deletions

View file

@ -27,6 +27,7 @@
self, self,
nixpkgs, nixpkgs,
spicetify-nix, spicetify-nix,
sxhkd-flake,
... ...
} @ inputs: let } @ inputs: let
settings = { settings = {
@ -59,7 +60,7 @@
inherit system pkgs; inherit system pkgs;
specialArgs = {inherit inputs settings;}; specialArgs = {inherit inputs settings;};
modules = [ modules = [
(import ./modules/sxhkd.nix inputs) sxhkd-flake.nixosModules.sxhkd
./configuration.nix ./configuration.nix
./systems/desktop.nix ./systems/desktop.nix
{ {

View file

@ -1,11 +1,4 @@
{sxhkd-flake, ...}: { {
config,
lib,
options,
pkgs,
...
}: (sxhkd-flake.nixosModules.sxhkd {
inherit lib config options pkgs;
services.sxhkd = { services.sxhkd = {
enable = true; enable = true;
keybindings = { keybindings = {
@ -27,4 +20,4 @@
"super + Print + shift" = "maim -s | xclip -selection clipboard -t image/png"; "super + Print + shift" = "maim -s | xclip -selection clipboard -t image/png";
}; };
}; };
}) }

View file

@ -15,6 +15,7 @@
"picom" "picom"
"refreshrate" "refreshrate"
"scripts" "scripts"
"sxhkd"
"vfio" "vfio"
"xserver" "xserver"
"zsh" "zsh"

View file

@ -13,6 +13,7 @@
"picom" "picom"
"prime" "prime"
"scripts" "scripts"
"sxhkd"
"xserver" "xserver"
"zsh" "zsh"
]; ];