Files
dotfiles/mods/hec-server.nix
Sebastian Moser d21bc3c7c5 ...
2024-01-23 15:03:48 +01:00

39 lines
1.1 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ workDir, pkgs, ... } : {
############################### desktop ###############################
/*
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
environment.systemPackages = with pkgs; [
tightvnc
];
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
services.blueman.enable = true;
hardware.bluetooth.enable = true;
*/
############################# kilian #############################
users.users.me.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/yBJcfkHRF5HScWLuaE+jKQQ2BczpKKpHihgc5JmxB kilian@idk"
];
users.users.kilian.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/yBJcfkHRF5HScWLuaE+jKQQ2BczpKKpHihgc5JmxB kilian@idk"
];
users.users.kilian = {
isNormalUser = true;
#passwordFile = "${secretsDir}/me-pwd";
password = "hi";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; # Enable sudo for the user.
};
programs.bash.shellInit = builtins.readFile "${workDir}/config/gitignore/killian_bashrc";
}