aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-06-19 22:12:09 +0900
committernsfisis <nsfisis@gmail.com>2025-06-19 22:12:09 +0900
commit62a5c8722ef2ca6fff90c0212a38ecaf0f079eb5 (patch)
tree46ef4664dcddd516405079c5e1dd7f0f510ed9c8
parentbf0d12f96f62d6d71ad9988028cb5168824d65b0 (diff)
downloaddotfiles-62a5c8722ef2ca6fff90c0212a38ecaf0f079eb5.tar.gz
dotfiles-62a5c8722ef2ca6fff90c0212a38ecaf0f079eb5.tar.zst
dotfiles-62a5c8722ef2ca6fff90c0212a38ecaf0f079eb5.zip
nix: update flake
-rw-r--r--flake.lock23
-rw-r--r--flake.nix6
-rw-r--r--home-manager/modules/common.nix7
3 files changed, 30 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index b58eff3..5dfbd05 100644
--- a/flake.lock
+++ b/flake.lock
@@ -25,11 +25,11 @@
]
},
"locked": {
- "lastModified": 1749944797,
- "narHash": "sha256-1l6ZW+2+LDQhYgE4fo2KsM2Ms3lY3ZXv0n6uKka2yMk=",
+ "lastModified": 1750304462,
+ "narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "c5f345153397f62170c18ded1ae1f0875201d49a",
+ "rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
"type": "github"
},
"original": {
@@ -41,6 +41,22 @@
},
"nixpkgs": {
"locked": {
+ "lastModified": 1750215678,
+ "narHash": "sha256-Rc/ytpamXRf6z8UA2SGa4aaWxUXRbX2MAWIu2C8M+ok=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "5395fb3ab3f97b9b7abca147249fa2e8ed27b192",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_deno": {
+ "locked": {
"lastModified": 1749648569,
"narHash": "sha256-9bqIu5xSsmc5l8dwuiNre2qyb2QZzmxE4cit715lTxg=",
"owner": "NixOS",
@@ -81,6 +97,7 @@
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
+ "nixpkgs_deno": "nixpkgs_deno",
"nur-packages": "nur-packages",
"treefmt-nix": "treefmt-nix_2"
}
diff --git a/flake.nix b/flake.nix
index e02e2b4..1b89503 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,10 +2,10 @@
description = "My flake configuration";
inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# TODO
# nixpkgs#deno in nixpkgs-unstable branch is broken for now.
- # nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
- nixpkgs.url = "github:NixOS/nixpkgs/1b36b17a09686ff51e2944334da1cf308fa81e48";
+ nixpkgs_deno.url = "github:NixOS/nixpkgs/1b36b17a09686ff51e2944334da1cf308fa81e48";
flake-utils.url = "github:numtide/flake-utils";
@@ -28,6 +28,7 @@
outputs =
{
nixpkgs,
+ nixpkgs_deno,
flake-utils,
treefmt-nix,
nur-packages,
@@ -57,6 +58,7 @@
home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = flake.system; };
extraSpecialArgs = {
+ nixpkgs_deno = import nixpkgs_deno { system = flake.system; };
env = flake.env;
nurpkgs = nur-packages.legacyPackages.${flake.system};
};
diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix
index 3cc28b1..27000da 100644
--- a/home-manager/modules/common.nix
+++ b/home-manager/modules/common.nix
@@ -1,5 +1,6 @@
{
pkgs,
+ nixpkgs_deno,
nurpkgs,
env,
...
@@ -30,7 +31,11 @@ in
pkgs.bed
pkgs.claude-code
pkgs.curl
- pkgs.deno
+
+ # TODO
+ # pkgs.deno
+ nixpkgs_deno.deno
+
pkgs.efm-langserver
pkgs.fd
pkgs.fzf