diff options
Diffstat (limited to '')
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | configuration.nix | 12 | ||||
| -rw-r--r-- | packages/shotkey/pkg.nix | 18 | ||||
| -rw-r--r-- | packages/shotkey/shotkey.tar.gz | bin | 0 -> 59195 bytes | |||
| m--------- | packages/shotkey/source | 0 |
5 files changed, 32 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 8cd1176..6a86acf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "~/nixos/external/nvim/config"] path = ~/nixos/external/nvim/config url = https://github.com/phenax/peepeepoopoo-nvim-config.git +[submodule "packages/shotkey/source"] + path = packages/shotkey/source + url = https://github.com/phenax/shotkey.git diff --git a/configuration.nix b/configuration.nix index d6e9a26..db55358 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,6 +7,7 @@ let apps = (import ./packages/sensible-apps/sensible-apps.nix).apps; sensible-apps = pkgs.callPackage ./packages/sensible-apps/pkg.nix {}; + shotkey = pkgs.callPackage ./packages/shotkey/pkg.nix {}; in { imports = [ ./hardware-configuration.nix @@ -81,7 +82,15 @@ in { # User users.users.imsohexy = { isNormalUser = true; - extraGroups = [ "wheel" "input" "audio" "video" "storage" "git" "networkmanager" ]; + extraGroups = [ + "wheel" + "input" + "audio" + "video" + "storage" + "git" + "networkmanager" + ]; shell = pkgs.zsh; }; @@ -133,6 +142,7 @@ in { ffmpeg-full sensible-apps + shotkey pass alsaUtils diff --git a/packages/shotkey/pkg.nix b/packages/shotkey/pkg.nix new file mode 100644 index 0000000..eb21186 --- /dev/null +++ b/packages/shotkey/pkg.nix @@ -0,0 +1,18 @@ +{ stdenv, libX11, libXinerama, libXft }: +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "local-shotkey-${version}"; + version = "0.1.0"; + + src = ./source; + + buildInputs = [ libX11 ]; + + + unpackPhase = ''cp -r $src/* .''; + + buildPhase = ''make''; + + installPhase = ''make PREFIX=$out DESTDIR="" install''; +} diff --git a/packages/shotkey/shotkey.tar.gz b/packages/shotkey/shotkey.tar.gz Binary files differnew file mode 100644 index 0000000..2e30be2 --- /dev/null +++ b/packages/shotkey/shotkey.tar.gz diff --git a/packages/shotkey/source b/packages/shotkey/source new file mode 160000 +Subproject 299bd436635cb1a4d7877bac50b482d32fccffe |
