diff --git a/hosts/main.nix b/hosts/main.nix index db6241e..33d97a6 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { imports = [ @@ -19,12 +19,32 @@ ../nix-os/xdg-default-apps.nix ../nix-os/services/nix-binary-cache.nix ../nix-os/udev.nix + + (builtins.fetchTarball "https://github.com/nix-community/nixos-vscode-server/tarball/fc900c16efc6a5ed972fb6be87df018bcf3035bc") ]; config = { boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + networking.hostName = "wroclaw-main"; + + services.xrdp.enable = true; + users.groups."tsusers".members = [ "wroclaw" ]; + + services.printing.drivers = with pkgs; [ + hplip + ]; + + # nixos-vscode-server module needs this + programs.nix-ld.enable = true; + services.vscode-server = { + enable = true; + extraRuntimeDependencies = with pkgs; [ + docker + ]; + }; + system.stateVersion = "23.05"; }; -} \ No newline at end of file +}