mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 05:03:15 -08:00
25 lines
770 B
Nix
25 lines
770 B
Nix
# default config loads everything else
|
|
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
home-manager.users.ruben = ./home.nix;
|
|
# make home-manager create backup of files to prevent failure when updating system
|
|
home-manager.backupFileExtension = "backup";
|
|
|
|
# myself :D
|
|
users.users."ruben" = {
|
|
isNormalUser = true;
|
|
description = "Ruben";
|
|
shell = pkgs.zsh;
|
|
extraGroups = ["wheel" "plugdev" "dialout" "libvirtd" "podman"] ++ (lib.optional config.networking.networkmanager.enable "networkmanager");
|
|
initialHashedPassword = "changeme";
|
|
|
|
openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+V3b6oKMTLEBq8AKjdNF5ZwJGXuWTrS2u9QaEypBYP sneexy@disroot.org''];
|
|
};
|
|
|
|
programs.zsh.enable = true;
|
|
environment.shells = with pkgs; [zsh];
|
|
}
|