hosts/plover: fix library namespace

This commit is contained in:
Gabriel Arazas 2023-12-24 18:13:27 +08:00
parent 28d0b5a85b
commit 722bdaf3cc
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@
./modules/profiles/hetzner-cloud-cx21.nix
# The users for this host.
(lib.getUser "nixos" "admin")
(lib.getUser "nixos" "plover")
(lib.private.getUser "nixos" "admin")
(lib.private.getUser "nixos" "plover")
# Hardened profile from nixpkgs.
"${modulesPath}/profiles/hardened.nix"
@ -81,5 +81,5 @@
# Make Nix experimental.
nix.package = pkgs.nixUnstable;
system.stateVersion = "23.11";
system.stateVersion = "23.05";
}

View File

@ -5,7 +5,7 @@
# from nixos-generators.
let
inherit (builtins) toString;
inherit (import ./networks.nix) interfaces;
inherit (import ../hardware/networks.nix) interfaces;
# This is just referring to the same interface just with alternative names.
mainEthernetInterfaceNames = [ "ens3" "enp0s3" ];

View File

@ -3,7 +3,7 @@
let
user = "plover";
homeManagerUser = lib.getUser "home-manager" user;
homeManagerUser = lib.private.getUser "home-manager" user;
in
{
users.users.${user} = {