From 493fb0d2d7acbfee929d0525ae95a1f36cdf43a9 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Tue, 9 Apr 2024 10:04:57 +0300 Subject: 2024-04-09 --- modules/common/common/nix.nix | 6 +----- modules/nixos/common/users.nix | 10 +++++++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/common/common/nix.nix b/modules/common/common/nix.nix index 6cc32d3..fdb0125 100644 --- a/modules/common/common/nix.nix +++ b/modules/common/common/nix.nix @@ -4,7 +4,6 @@ lib, localUsername ? lib.my.username, pkgs, - pkgsPr, this, ... }: @@ -37,10 +36,7 @@ with lib; nixpkgs.overlays = with inputs; [ self.overlays.default - (_: _: { - inherit (pkgsPr 298756 "sha256-AxNXEDRb9yEde0sPEBRxfXSAu/ZL6/BlOzSj+aoOlHk=") qolibri; - inherit (pkgsPr 298346 "sha256-CSEUeivyTWxVskjWzDUal8KYthk7UYMOM4KdjZyhV3o=") dmalloc; - }) + (_: _: { }) ]; nix = diff --git a/modules/nixos/common/users.nix b/modules/nixos/common/users.nix index eca9e1b..a92a38e 100644 --- a/modules/nixos/common/users.nix +++ b/modules/nixos/common/users.nix @@ -1,7 +1,11 @@ -{ lib, ... }: +{ + lib, + localUsername ? lib.my.username, + ... +}: with lib; let - home = "/home/${my.username}"; + home = "/home/${localUsername}"; in { ark.directories = [ home ]; @@ -12,7 +16,7 @@ in users = { root.hashedPassword = "@HASHED_PASSWORD@"; - ${my.username} = { + ${localUsername} = { isNormalUser = true; uid = 1000; description = my.fullname; -- cgit v1.2.3