This commit is contained in:
Sebastian Moser
2024-01-23 15:03:48 +01:00
parent 22d3e2bd96
commit d21bc3c7c5
19 changed files with 643 additions and 17 deletions

38
mods/hec-server.nix Normal file
View File

@@ -0,0 +1,38 @@
{ 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";
}