diff --git a/hosts/main.nix b/hosts/main.nix index 7b7cbdf..33d97a6 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { imports = [ @@ -18,12 +18,33 @@ ../nix-os/account.nix ../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 +} diff --git a/hosts/tablet.nix b/hosts/tablet.nix index b369d47..4cb94ff 100644 --- a/hosts/tablet.nix +++ b/hosts/tablet.nix @@ -11,6 +11,7 @@ ../nix-os/desktopManagers/gnome.nix ../nix-os/displayManagers/gdm.nix + ../nix-os/udev.nix ]; config = { diff --git a/hosts/vm.nix b/hosts/vm.nix index c91a794..0b99d01 100644 --- a/hosts/vm.nix +++ b/hosts/vm.nix @@ -14,5 +14,6 @@ ../nix-os/adb.nix ../nix-os/account.nix ../nix-os/xdg-default-apps.nix + ../nix-os/udev.nix ]; } \ No newline at end of file diff --git a/nix-os/udev.nix b/nix-os/udev.nix new file mode 100644 index 0000000..5c27b88 --- /dev/null +++ b/nix-os/udev.nix @@ -0,0 +1,5 @@ +{ + config = { + hardware.ledger.enable = true; + }; +}