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

View File

@ -5,7 +5,7 @@
# from nixos-generators. # from nixos-generators.
let let
inherit (builtins) toString; 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. # This is just referring to the same interface just with alternative names.
mainEthernetInterfaceNames = [ "ens3" "enp0s3" ]; mainEthernetInterfaceNames = [ "ens3" "enp0s3" ];

View File

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