set correct flake path for nh

This commit is contained in:
Joakim Repomaa
2025-02-13 16:03:54 +02:00
parent 1cf3c7d8dd
commit 6a10625d4e
3 changed files with 6 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{
{ config, lib, pkgs, inputs, self, ... }: {
nixpkgs.config.allowUnfree = true;
imports = [ ../gnome ../custom-programs ./neovim ./dnote.nix ];
@@ -70,7 +69,7 @@
programs = {
nh = {
enable = true;
flake = "/etc/nixos";
flake = self;
};
dnote.enable = true;
home-manager.enable = true;

View File

@@ -1,11 +1,11 @@
{ inputs, ... }:
{ inputs, self, ... }:
{
home-manager = {
users = {
jokke = import ./jokke;
moco = import ./moco;
};
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = { inherit inputs self; };
sharedModules = [ (import ./common) ];
useUserPackages = true;
useGlobalPkgs = true;