about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-24 11:45:18 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-24 11:45:18 +0200
commit8dc2ce80e0d1643be1640364d0c2ceed7be1176d (patch)
tree4c91b06e910fed09332ccdf48731fcf99640eca4
parentFix hardware acceleration in firefox (diff)
downloadnixos-config-8dc2ce80e0d1643be1640364d0c2ceed7be1176d.tar.gz
nixos-config-8dc2ce80e0d1643be1640364d0c2ceed7be1176d.tar.bz2
nixos-config-8dc2ce80e0d1643be1640364d0c2ceed7be1176d.zip
Added Wallpapers as flake input
-rw-r--r--flake.lock19
-rw-r--r--flake.nix5
-rw-r--r--hosts/home.nix7
3 files changed, 24 insertions, 7 deletions
diff --git a/flake.lock b/flake.lock
index 5ad5572..95c94c6 100644
--- a/flake.lock
+++ b/flake.lock
@@ -89,7 +89,8 @@
         "impermanence": "impermanence",
         "nix-index": "nix-index",
         "nixpkgs": "nixpkgs",
-        "nur": "nur"
+        "nur": "nur",
+        "wallpapers": "wallpapers"
       }
     },
     "utils": {
@@ -106,6 +107,22 @@
         "repo": "flake-utils",
         "type": "github"
       }
+    },
+    "wallpapers": {
+      "flake": false,
+      "locked": {
+        "lastModified": 1602330464,
+        "narHash": "sha256-YKpIno5QSJM/GGp5DwQeuhKmTU5S96+IhLr0O0V8PDI=",
+        "owner": "Baitinq",
+        "repo": "Wallpapers",
+        "rev": "291f9a4cf78a6ad862da151139ea026ea72968e5",
+        "type": "github"
+      },
+      "original": {
+        "owner": "Baitinq",
+        "repo": "Wallpapers",
+        "type": "github"
+      }
     }
   },
   "root": "root",
diff --git a/flake.nix b/flake.nix
index 94e38f2..4aa6f6e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,6 +14,11 @@
     nur.url = "github:nix-community/NUR";
 
     nix-index.url = "github:Mic92/nix-index-database";
+
+    wallpapers = {
+      url = "github:Baitinq/Wallpapers";
+      flake = false;
+    };
   };
 
   outputs = inputs @ { self, nixpkgs, home-manager, ... }:
diff --git a/hosts/home.nix b/hosts/home.nix
index 138a4d3..d39f3ac 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -257,12 +257,7 @@ in
   };
 
   home.file = {
-    "./Images/Wallpapers".source = pkgs.fetchFromGitHub {
-      owner = "Baitinq";
-      repo = "Wallpapers";
-      rev = "291f9a4cf78a6ad862da151139ea026ea72968e5";
-      sha256 = "sha256-YKpIno5QSJM/GGp5DwQeuhKmTU5S96+IhLr0O0V8PDI=";
-    };
+    "./Images/Wallpapers".source = inputs.wallpapers;
   };
 
   # For disabling the automatic creation of $HOME/Desktop