summaryrefslogtreecommitdiff
path: root/nixos/kusanagi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/kusanagi.nix')
-rw-r--r--nixos/kusanagi.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index 1b3f612..d92a171 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -4,7 +4,15 @@
{ config, lib, pkgs, modulesPath, ... }:
let
- home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
+ nurSrc = builtins.fetchTarball {
+ url =
+ "https://github.com/nix-community/NUR/archive/687ed97c4379e9ad1346fc673e3e0fc88210de14.tar.gz";
+ sha256 = "sha256:0pxljc5bzcwb8c43qmm5l49p03snq7piqnshglqday2dw6cfcd6l";
+ };
+ home-manager = builtins.fetchTarball {
+ url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
+ sha256 = "sha256:0dfshsgj93ikfkcihf4c5z876h4dwjds998kvgv7sqbfv0z6a4bc";
+ };
in
{
imports =
@@ -94,10 +102,9 @@ in
# nur has to be imported twice, otherwise doesn't work
nixpkgs.config.packageOverrides = pkgs: {
- nur = import (builtins.fetchTarball
- "https://github.com/nix-community/NUR/archive/master.tar.gz") {
- inherit pkgs;
- };
+ nur = import nurSrc {
+ inherit pkgs;
+ };
};
home-manager.users.lx = import ../nixpkgs/kusanagi.nix { inherit pkgs; };