system/home/users/nas/default.nix

36 lines
661 B
Nix
Raw Normal View History

{ 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;
};
age.secrets.users-nas-passfile.file = ../../../secrets/users-nas-passfile.age;
2022-11-13 23:14:04 +03:00
}