diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-16 08:47:58 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-16 08:47:58 +0200 |
commit | bd2da57e04a284a70ad35056b1a9fcdf74b78bc2 (patch) | |
tree | 919c31acf0ea30b359777abb2c85fb0189c229e7 | |
parent | ff9bfe9f2171944ce86bd9f3eb8b46b79e5cf48d (diff) | |
download | dots-bd2da57e04a284a70ad35056b1a9fcdf74b78bc2.tar.gz dots-bd2da57e04a284a70ad35056b1a9fcdf74b78bc2.zip |
Add wywozik and default programs
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | home.nix | 11 | ||||
-rw-r--r-- | programs/default_programms.nix | 26 |
3 files changed, 38 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89b3a77 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +secrets.nix diff --git a/home.nix b/home.nix index a6e4d3e..7763f2d 100644 --- a/home.nix +++ b/home.nix @@ -1,5 +1,16 @@ { config, pkgs, ... }: let + secrets = import ./secrets.nix; + wywozik = pkgs.nur.repos.pn.wywozik-todo.override { + configFile = '' + CITY = "Poznań" + STREET = "${secrets.stree}" + NUMBER = "${secrets.number}" + HOUSING = "zamieszkana" + TOKEN = "${secrets.todoist}" + ''; + }; + pnvim = import ./programs/nvim.nix pkgs; common_packages = import ./platforms/common-packages.nix pkgs; isDarwin = builtins.currentSystem == "x86_64-darwin"; diff --git a/programs/default_programms.nix b/programs/default_programms.nix new file mode 100644 index 0000000..8bed73a --- /dev/null +++ b/programs/default_programms.nix @@ -0,0 +1,26 @@ +{ config, ... }: + +{ + xdg.configHome."mimeapps.list".text = '' + [Default Applications] + + application/rss+xml=larbs-news.desktop + x-scheme-handler/mailto=larbs-mail.desktop; + x-scheme-handler/gemini=amfora.desktop + + # xdg-open will use these settings to determine how to open filetypes. + # These .desktop entries can also be seen and changed in ~/.local/share/applications/ + + text/x-shellscript=text.desktop; + x-scheme-handler/magnet=torrent.desktop; + application/x-bittorrent=torrent.desktop; + text/plain=text.desktop; + application/postscript=pdf.desktop; + application/pdf=pdf.desktop; + image/png=img.desktop; + image/jpeg=img.desktop; + image/gif=img.desktop; + video/x-matroska=video.desktop + x-scheme-handler/lbry=lbry.desktop + inode/directory=file.desktop + ''; |