2022-10-08 22:45:35 +03:00
|
|
|
|
{ config, pkgs, lib, inputs, fontSize ? null, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
nixpkgs.overlays = (import ../../overlays) ++ [
|
|
|
|
|
inputs.wired.overlays.default
|
|
|
|
|
inputs.myneovim.overlays.default
|
|
|
|
|
inputs.vnetod.overlay
|
|
|
|
|
inputs.nil.overlays.default
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
users.users.jan = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
extraGroups = [
|
|
|
|
|
"wheel" # Enable ‘sudo’ for the user.
|
|
|
|
|
"networkmanager"
|
|
|
|
|
"docker"
|
|
|
|
|
];
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
|
useUserPackages = true;
|
|
|
|
|
users.jan = { lib, ... }: {
|
|
|
|
|
imports = [
|
|
|
|
|
inputs.wired.homeManagerModules.default
|
|
|
|
|
./home.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
progs.alacritty.fontSize = lib.mkIf (fontSize != null) fontSize;
|
|
|
|
|
|
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2022-10-09 17:26:59 +03:00
|
|
|
|
nix.settings.trusted-users = lib.mkForce [ "root" "jan" ];
|
2022-10-08 22:45:35 +03:00
|
|
|
|
}
|