aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--default.nix8
2 files changed, 16 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 30cc365..5d0091d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,12 @@
/_site/
/.jekyll-cache/
/images/graphviz/
+
+# Generated resources
+*.ogg
+*.torrent
+*.checksum
+/static/favicon.png
+/music/*.pdf
+/music/*.midi
+/favicon.ico \ No newline at end of file
diff --git a/default.nix b/default.nix
index f949982..81429bb 100644
--- a/default.nix
+++ b/default.nix
@@ -1,7 +1,13 @@
let
niv-sources = import ./nix/sources.nix;
pkgs = import niv-sources.nixpkgs { };
- src = pkgs.nix-gitignore.gitignoreSource [ "!.git" ] ./.;
+ src = pkgs.nix-gitignore.gitignoreSourcePure
+ [
+ "/result*"
+ "/_site/"
+ "/.jekyll-cache/"
+ ]
+ ./.;
utils-i18n = pkgs.callPackage ./nix/utils-i18n.nix { };
pkgs-next = pkgs.callPackage ./nix/nixpkgs-next.nix { };