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";
|
url = "github:ISnortPennies/nvim-config";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
sxhkd-flake = {
|
||||||
|
url = "github:ISnortPennies/sxhkd-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
|
|
@ -58,6 +62,7 @@
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
specialArgs = {inherit inputs settings;};
|
specialArgs = {inherit inputs settings;};
|
||||||
modules = [
|
modules = [
|
||||||
|
(import ./modules/sxhkd.nix inputs)
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./systems/desktop.nix
|
./systems/desktop.nix
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
imports = let
|
imports = let
|
||||||
modules = [
|
modules = [
|
||||||
"librewolf"
|
"librewolf"
|
||||||
"sxhkd"
|
|
||||||
"theme"
|
"theme"
|
||||||
"picom"
|
"picom"
|
||||||
"spicetify"
|
"spicetify"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,11 @@
|
||||||
{
|
{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 = {
|
||||||
|
|
@ -20,4 +27,4 @@
|
||||||
"super + Print + shift" = "maim -s | xclip -selection clipboard -t image/png";
|
"super + Print + shift" = "maim -s | xclip -selection clipboard -t image/png";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
@ -14,11 +14,6 @@
|
||||||
windowManager.dwm.enable = true;
|
windowManager.dwm.enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
defaultSession = "none+dwm";
|
defaultSession = "none+dwm";
|
||||||
sessionCommands = ''
|
|
||||||
if ! pidof sxhkd > /dev/null;then
|
|
||||||
sxhkd &
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
lightdm = {
|
lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
greeters.mini = {
|
greeters.mini = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue