summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/configuration.nix b/configuration.nix
index f128856..27b351e 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,16 +1,16 @@
{ config, pkgs, lib, ... }:
let
- user = config.passthru.user;
+ user = config.userdata.user;
+ groups = config.userdata.groups;
in
{
imports = [
./hardware-configuration.nix # hw scan
+ ./modules/userdata.nix
./hosts/cez.nix
];
- passthru.user = "sinan";
-
# boot
boot = {
tmp.useTmpfs = true;
@@ -29,9 +29,8 @@ in
isNormalUser = true;
extraGroups = [
"wheel"
- "seat"
"adbusers"
- ];
+ ] ++ groups;
packages = with pkgs; [
yt-dlp
geoipWithDatabase