diff options
author | Adrian Kummerlaender | 2019-02-22 20:34:18 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-02-22 20:34:18 +0100 |
commit | 4bda7bcd1eb2410ff7466fd4da2b5345ece6763f (patch) | |
tree | 167e374e350978c175747de0b7b522dc27543ae1 /gui/default.nix | |
parent | 0b2cde8591776d58333b07062748606d91a9f1db (diff) | |
download | nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar.gz nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar.bz2 nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar.lz nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar.xz nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.tar.zst nixos_home-4bda7bcd1eb2410ff7466fd4da2b5345ece6763f.zip |
Declare tasks as attribute option
This way it is easy to support e.g. host specific tasks
Diffstat (limited to 'gui/default.nix')
-rw-r--r-- | gui/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/default.nix b/gui/default.nix index 6948139..93cf8c3 100644 --- a/gui/default.nix +++ b/gui/default.nix @@ -9,14 +9,13 @@ in { ./kitty.nix ./vim.nix ./zathura.nix - # desktop shortcuts for project specific tasks - ./tasker.nix # applications grouped by purpose ./apps/file.nix ./apps/web.nix ./apps/dev.nix ]; +# hidpi specific xorg flags xresources.extraConfig = pkgs.lib.mkIf hidpi '' Xft.dpi: 160 Xft.autohint: 0 @@ -26,4 +25,10 @@ in { Xft.antialias: 1 Xft.rgba: rgb ''; + +# desktop shortcuts for project specific tasks + home.packages = pkgs.callPackage ./pkgs/tasker.nix { + inherit pkgs; + tasks = config.custom.tasks; + }; } |