home-manager now uses npins

This commit is contained in:
boyreau 2026-07-11 19:35:37 +02:00
commit d155222026
2 changed files with 26 additions and 3 deletions

View file

@ -1,5 +1,18 @@
{ {
"pins": { "pins": {
"home-manager": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "nix-community",
"repo": "home-manager"
},
"branch": "release-26.05",
"submodules": false,
"revision": "3cd22efe6471dc7365c822bd9ad73a21e55f38fb",
"url": "https://github.com/nix-community/home-manager/archive/3cd22efe6471dc7365c822bd9ad73a21e55f38fb.tar.gz",
"hash": "sha256-qajyHfZY29G2oEQk+uHxmsJcRoBUBXP9maTpFlwP/dI="
},
"jail.nix": { "jail.nix": {
"type": "Git", "type": "Git",
"repository": { "repository": {
@ -21,9 +34,9 @@
}, },
"branch": "release", "branch": "release",
"submodules": false, "submodules": false,
"revision": "756ed060ca6adcdf3e65371e3725b89c58a1354d", "revision": "4673c8f6d48baf2ec3f14b6a9f8c4ecfb0810d6f",
"url": "https://github.com/xddxdd/nix-cachyos-kernel/archive/756ed060ca6adcdf3e65371e3725b89c58a1354d.tar.gz", "url": "https://github.com/xddxdd/nix-cachyos-kernel/archive/4673c8f6d48baf2ec3f14b6a9f8c4ecfb0810d6f.tar.gz",
"hash": "sha256-Vujeg1QyOCnEMCNV1U7aFDllD0w2lEl8c0uJyKM+cOI=" "hash": "sha256-w5ALD125oHIa5MVhoBXo3qx2ktvRvJ+1p8UScV9f8OI="
}, },
"nixpkgs": { "nixpkgs": {
"type": "Tarball", "type": "Tarball",

View file

@ -1,5 +1,15 @@
{ pkgs, ... }: { pkgs, ... }:
let
source = import ./npins;
home-manager = source.home-manager;
in
{ {
imports = [
(import "${home-manager}/nixos")
];
home-manager.useGlobalPkgs = true;
users.users.zo = { users.users.zo = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ extraGroups = [