74 lines
2.2 KiB
Nix
74 lines
2.2 KiB
Nix
{ pkgs, ... }: {
|
|
|
|
home-manager.users.root = {
|
|
programs.zsh = {
|
|
enable = true;
|
|
initExtra = ''
|
|
PROMPT="[%M] %~ "
|
|
'';
|
|
antidote = {
|
|
enable = true;
|
|
plugins = [
|
|
"marlonrichert/zsh-autocomplete"
|
|
"zsh-users/zsh-syntax-highlighting"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
time.timeZone = "Europe/Budapest";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "hu_HU.UTF-8";
|
|
LC_IDENTIFICATION = "hu_HU.UTF-8";
|
|
LC_MEASUREMENT = "hu_HU.UTF-8";
|
|
LC_MONETARY = "hu_HU.UTF-8";
|
|
LC_NAME = "hu_HU.UTF-8";
|
|
LC_NUMERIC = "hu_HU.UTF-8";
|
|
LC_PAPER = "hu_HU.UTF-8";
|
|
LC_TELEPHONE = "hu_HU.UTF-8";
|
|
LC_TIME = "hu_HU.UTF-8";
|
|
};
|
|
|
|
services.xserver = {
|
|
xkb.layout = "us";
|
|
};
|
|
|
|
users.users."root".openssh.authorizedKeys.keys = [
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC2I8OcbOP85iszYjK12GrNJ5jTF4Kh3XHzALOr2Mk6Y5uCbOQOtsGq64rfm8lY+MPS6PGQlRy00UJUgbp6RV2rbOkBurUCJ4LkvMqukfU32H1IIe2h7fAdCMlBv5wNbtbX+Tx6LsRCvfivNmg/GJ+a4PsTm1TxzAFh2SPNu/iA44GPyho0rCtCKGgGsaux2vqI2PuGceXgHhjqdRw4lmmLeBuR/oWzOc6R27AcZtKRofeQS0bB8WdsWBLTFT37hqiWsIUEGNxPGP1D5diGhgZ9dNFPw5rH48j5VPwE72c2z+DQVdHdUYq23MCvy/6P98yvKUxLZFQuHaat0291cyOjVkaq3TBUPokeUi4JwGZCYs3081HQ/l7p1/3rMdB0DJS3SOlQ9k0ibHhZ/pG9n9CWVka8ImpSymdXcc1Vw5a/cN8rNynsju80ycast2RldY50lq1tnANqnR6T77arFtPMldnZrVt3jVlw6dQnhfZp+bbYSSF2+98pjtewvp/aMNqXpcTJz4+cgr3uopVwJ73qFgP4fgllhZdlW0ArpdzC4OEqbcpFCI+f3ThIafwQKpngYDonejz2dRz5VmQ8fy+zHvPu32XWnQfmMX8pZKAsHysewtDA+5CTBfWI5aZFQspdNkqRIKKzEMpxB4hWFH3HEoKjBo9NiS0ilaFyN//2lw== pear@rog-strix"
|
|
];
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
allowSFTP = true;
|
|
openFirewall = true;
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
};
|
|
};
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
docker-compose
|
|
neovim
|
|
git
|
|
zip
|
|
w3m
|
|
];
|
|
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
enableOnBoot = false;
|
|
};
|
|
|
|
home-manager.users.root.home.stateVersion = "24.05";
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|