adding templates back

This commit is contained in:
Matt Nish-Lapidus 2025-07-09 10:30:44 -04:00
parent 9a875822d5
commit 4f1e8aea44
4 changed files with 59 additions and 60 deletions

108
flake.lock generated
View file

@ -86,6 +86,24 @@
"type": "github"
}
},
"dev-templates": {
"inputs": {
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1749399510,
"narHash": "sha256-o47eZ3TwqANphUVcGk1m2x94rfETfin79BV3j8lv+tQ=",
"owner": "emenel",
"repo": "dev-templates",
"rev": "7209fa2f8cd9e4a6a25a3249b74dcaee7065a90f",
"type": "github"
},
"original": {
"owner": "emenel",
"repo": "dev-templates",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
@ -538,7 +556,7 @@
"inputs": {
"flake-compat": "flake-compat_5",
"gitignore": "gitignore_3",
"nixpkgs": "nixpkgs_5"
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1747372754,
@ -644,11 +662,11 @@
]
},
"locked": {
"lastModified": 1751990210,
"narHash": "sha256-krWErNDl9ggMLSfK00Q2BcoSk3+IRTSON/DiDgUzzMw=",
"lastModified": 1752062782,
"narHash": "sha256-Dod77HcIByOyfGLEJOgRxg2Fmk2Y5lVgMEcN/xVEt/8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "218da00bfa73f2a61682417efe74549416c16ba6",
"rev": "bec8ff39811568eb7c8c8d1e2a1a476326748f51",
"type": "github"
},
"original": {
@ -1073,11 +1091,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1751926735,
"narHash": "sha256-/GtMm16k1Diq7BXpfDIM3zZNN/2S8tZWvAg5Wp15fB8=",
"lastModified": 1752057206,
"narHash": "sha256-f8fNAag3K3WAq+lJr2EEu2f3xVSFLPddLgJKZRzXa3M=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "bd6572938cfc9d7749e55082b910050c3271f841",
"rev": "90c2edcf32d0fcb511fee9a0b8c580a18178c109",
"type": "github"
},
"original": {
@ -1123,7 +1141,7 @@
"inputs": {
"flake-compat": "flake-compat_4",
"flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1725758175,
@ -1194,24 +1212,6 @@
"type": "github"
}
},
"nix-way-templates": {
"inputs": {
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1749399510,
"narHash": "sha256-o47eZ3TwqANphUVcGk1m2x94rfETfin79BV3j8lv+tQ=",
"owner": "the-nix-way",
"repo": "dev-templates",
"rev": "7209fa2f8cd9e4a6a25a3249b74dcaee7065a90f",
"type": "github"
},
"original": {
"owner": "the-nix-way",
"repo": "dev-templates",
"type": "github"
}
},
"nixarr": {
"inputs": {
"nixpkgs": [
@ -1236,11 +1236,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1751432711,
"narHash": "sha256-136MeWtckSHTN9Z2WRNRdZ8oRP3vyx3L8UxeBYE+J9w=",
"lastModified": 1752048960,
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "497ae1357f1ac97f1aea31a4cb74ad0d534ef41f",
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806",
"type": "github"
},
"original": {
@ -1328,11 +1328,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1751741127,
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
"lastModified": 1751943650,
"narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "29e290002bfff26af1db6f64d070698019460302",
"rev": "88983d4b665fb491861005137ce2b11a9f89f203",
"type": "github"
},
"original": {
@ -1344,11 +1344,11 @@
},
"nixpkgs-stable_3": {
"locked": {
"lastModified": 1751741127,
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
"lastModified": 1751943650,
"narHash": "sha256-7orTnNqkGGru8Je6Un6mq1T8YVVU/O5kyW4+f9C1mZQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "29e290002bfff26af1db6f64d070698019460302",
"rev": "88983d4b665fb491861005137ce2b11a9f89f203",
"type": "github"
},
"original": {
@ -1391,6 +1391,20 @@
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1746904237,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
"revCount": 797896,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.797896%2Brev-d89fc19e405cb2d55ce7cc114356846a0ee5e956/0196c1a7-7ad3-74a9-9d50-1b854aca6d6c/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.1"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1725103162,
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
@ -1406,7 +1420,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1730768919,
"narHash": "sha256-8AKquNnnSaJRXZxc5YmF/WfmxiHX6MMZZasRP6RRQkE=",
@ -1422,20 +1436,6 @@
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1746904237,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
"revCount": 797896,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.797896%2Brev-d89fc19e405cb2d55ce7cc114356846a0ee5e956/0196c1a7-7ad3-74a9-9d50-1b854aca6d6c/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.1"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1751792365,
@ -1599,6 +1599,7 @@
"affinity-nix": "affinity-nix",
"bash-env-json": "bash-env-json",
"bash-env-nushell": "bash-env-nushell",
"dev-templates": "dev-templates",
"disko": "disko",
"emacs-lsp-booster": "emacs-lsp-booster",
"emacs-overlay": "emacs-overlay",
@ -1613,7 +1614,6 @@
"niri": "niri",
"nix-flatpak": "nix-flatpak",
"nix-rice": "nix-rice",
"nix-way-templates": "nix-way-templates",
"nixarr": "nixarr",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_7",
@ -2168,11 +2168,11 @@
]
},
"locked": {
"lastModified": 1751930356,
"narHash": "sha256-xiG5vY4KhrIfUGb/MyPXaDiatFJ0mQngook01X4VwHg=",
"lastModified": 1752056590,
"narHash": "sha256-5ExDbMF1jrArC249TCmbBAbxcNoBShJmAGYIHv6Nejo=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "06c1a125bfa2002e9d84ebf655271c6f06ab1f38",
"rev": "49269b4360a5aaf6fc0a418398e49f9bb0db08be",
"type": "github"
},
"original": {

View file

@ -122,8 +122,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# emenel-templates.url = "git+ssh://git@gt.emenel.ca/emenel/nix-flake-templates";
nix-way-templates.url = "github:the-nix-way/dev-templates";
dev-templates.url = "github:emenel/dev-templates";
};

View file

@ -84,9 +84,9 @@
keep-derivations = true
'';
# registry = {
# emenel-templates.flake = inputs.emenel-templates;
# };
registry = {
dev-templates.flake = inputs.dev-templates;
};
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
};

View file

@ -1,7 +1,7 @@
$env.config.completions.external.completer = $fish_completer
$env.LS_COLORS = (vivid generate one-dark)
$env.NH_FLAKE = $env.HOME + "/nixos-config/"
# $env.NH_FLAKE = $env.HOME + "/nixos-config/"
# $env.TRANSIENT_PROMPT_COMMAND = ^starship module character
# $env.TRANSIENT_PROMPT_INDICATOR = ""
# $env.TRANSIENT_PROMPT_INDICATOR_VI_INSERT = ""