mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
moved sxhkd configuration to seperate module
This commit is contained in:
parent
476b42f8af
commit
f25dcd56d9
4 changed files with 14 additions and 8 deletions
|
|
@ -18,6 +18,10 @@
|
|||
url = "github:ISnortPennies/nvim-config";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sxhkd-flake = {
|
||||
url = "github:ISnortPennies/sxhkd-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = {
|
||||
self,
|
||||
|
|
@ -58,6 +62,7 @@
|
|||
inherit system pkgs;
|
||||
specialArgs = {inherit inputs settings;};
|
||||
modules = [
|
||||
(import ./modules/sxhkd.nix inputs)
|
||||
./configuration.nix
|
||||
./systems/desktop.nix
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
imports = let
|
||||
modules = [
|
||||
"librewolf"
|
||||
"sxhkd"
|
||||
"theme"
|
||||
"picom"
|
||||
"spicetify"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
{
|
||||
{sxhkd-flake, ...}: {
|
||||
config,
|
||||
lib,
|
||||
options,
|
||||
pkgs,
|
||||
...
|
||||
}: (sxhkd-flake.nixosModules.sxhkd {
|
||||
inherit lib config options pkgs;
|
||||
services.sxhkd = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
|
|
@ -20,4 +27,4 @@
|
|||
"super + Print + shift" = "maim -s | xclip -selection clipboard -t image/png";
|
||||
};
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
@ -14,11 +14,6 @@
|
|||
windowManager.dwm.enable = true;
|
||||
displayManager = {
|
||||
defaultSession = "none+dwm";
|
||||
sessionCommands = ''
|
||||
if ! pidof sxhkd > /dev/null;then
|
||||
sxhkd &
|
||||
fi
|
||||
'';
|
||||
lightdm = {
|
||||
enable = true;
|
||||
greeters.mini = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue