2023-11-13 18:26:20 +03:00
|
|
|
{ config
|
|
|
|
, pkgs
|
|
|
|
, lib
|
|
|
|
, inputs
|
|
|
|
, extraHomeModule ? null
|
|
|
|
, ...
|
|
|
|
}:
|
2022-11-13 23:14:04 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
nixpkgs.overlays = lib.mkAfter [
|
|
|
|
inputs.wired.overlays.default
|
|
|
|
];
|
|
|
|
|
|
|
|
local.nix.allowUnfreePackages = [ "skypeforlinux" ];
|
|
|
|
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
|
|
|
users.users.nas = {
|
|
|
|
isNormalUser = true;
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
passwordFile = config.age.secrets.users-nas-passfile.path;
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.nas = { lib, ... }: {
|
|
|
|
imports = [
|
|
|
|
inputs.wired.homeManagerModules.default
|
|
|
|
./home.nix
|
|
|
|
extraHomeModule
|
|
|
|
];
|
|
|
|
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
|
|
};
|
|
|
|
|
2023-03-18 23:38:11 +03:00
|
|
|
age.secrets.users-nas-passfile.file = ../../../secrets/users-nas-passfile.age;
|
2022-11-13 23:14:04 +03:00
|
|
|
}
|