feat: add editors to unstable, update lock

This commit is contained in:
Thiago Sposito 2026-01-10 21:53:40 -03:00
parent efa12b59e5
commit 337ee6db4a
Signed by: thiago
GPG key ID: 3065EA73A976D430
3 changed files with 43 additions and 20 deletions

49
flake.lock generated
View file

@ -46,11 +46,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767280655, "lastModified": 1767910483,
"narHash": "sha256-YmaYMduV5ko8zURUT1VLGDbVC1L/bxHS0NsiPoZ6bBM=", "narHash": "sha256-MOU5YdVu4DVwuT5ztXgQpPuRRBjSjUGIdUzOQr9iQOY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d49d2543f02dbd789ed032188c84570d929223cb", "rev": "82fb7dedaad83e5e279127a38ef410bcfac6d77c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -67,11 +67,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759967497, "lastModified": 1767881232,
"narHash": "sha256-PYD473Ef3v5HNyLKyWroskX87fl6ntgKrzqm+R2Duqo=", "narHash": "sha256-tFFsDO0DloeymMeSc0YZacDl+cppVTNh5x/3ZGHpUXs=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "f0fa9781aef42ecbcb280b625632e5933ed04d9f", "rev": "018c8b6c98768ef060e00e0fabe98a3119a79056",
"revCount": 4, "revCount": 5,
"type": "git", "type": "git",
"url": "https://git.sr.ht/~sposito/icons" "url": "https://git.sr.ht/~sposito/icons"
}, },
@ -110,11 +110,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767047869, "lastModified": 1767799921,
"narHash": "sha256-tzYsEzXEVa7op1LTnrLSiPGrcCY6948iD0EcNLWcmzo=", "narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "89dbf01df72eb5ebe3b24a86334b12c27d68016a", "rev": "d351d0653aeb7877273920cd3e823994e7579b0b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -124,6 +124,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": {
"locked": {
"lastModified": 1767892417,
"narHash": "sha256-dhhvQY67aboBk8b0/u0XB6vwHdgbROZT3fJAjyNh5Ww=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
@ -134,11 +150,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1766849711, "lastModified": 1767448089,
"narHash": "sha256-gtLBwhgjERca1UCzGkFplD5epIVRiNkePHVVtyFr73g=", "narHash": "sha256-U1fHsZBnFrUil731NHD9Sg5HoiG+eSHau8OFuClhwW0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "cae79c48e93bd61e478dfc12456bf68b1ce66074", "rev": "983751b66f255bbea1adc185364e9e7b73f82358",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -176,6 +192,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"icons": "icons", "icons": "icons",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim", "nixvim": "nixvim",
"secrets": "secrets", "secrets": "secrets",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
@ -200,11 +217,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1766894905, "lastModified": 1768032389,
"narHash": "sha256-pn8AxxfajqyR/Dmr1wnZYdUXHgM3u6z9x0Z1Ijmz2UQ=", "narHash": "sha256-BVpTd93G0XmAK1iXiBdhUA5Uvt+WmM1YL0mA4REcT68=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "61b39c7b657081c2adc91b75dd3ad8a91d6f07a7", "rev": "a8cfe238b93166f9f96c0df67a94e572554ee624",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/home-manager/release-25.11"; url = "github:nix-community/home-manager/release-25.11";
@ -30,6 +30,7 @@
{ {
self, self,
nixpkgs, nixpkgs,
nixpkgs-unstable,
home-manager, home-manager,
... ...
}@inputs: }@inputs:

View file

@ -1,8 +1,12 @@
{ {
pkgs, pkgs,
lib, lib,
inputs,
... ...
}: }:
let
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux;
in
{ {
imports = [ imports = [
./custom.nix ./custom.nix
@ -20,6 +24,7 @@
pkg: pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"code-cursor" "code-cursor"
"cursor"
"cursor-cli" "cursor-cli"
"vscode" "vscode"
]; ];
@ -30,8 +35,8 @@
homeDirectory = "/home/thiago"; homeDirectory = "/home/thiago";
packages = with pkgs; [ packages = with pkgs; [
cmake cmake
code-cursor pkgsUnstable.code-cursor
cursor-cli pkgsUnstable.cursor-cli
direnv direnv
distrobox distrobox
fd fd