about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
commit493fb0d2d7acbfee929d0525ae95a1f36cdf43a9 (patch)
tree0dc184ad983e13403d4a1c6643512bb4f49bffda /modules
parent2024-04-01 (diff)
2024-04-09
Diffstat (limited to '')
-rw-r--r--modules/common/common/nix.nix6
-rw-r--r--modules/nixos/common/users.nix10
2 files changed, 8 insertions, 8 deletions
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;

Consider giving Nix/NixOS a try! <3