hosts/main: store configuration previously in device-configuration.nix in git

This commit is contained in:
Wroclaw 2024-05-27 01:58:13 +02:00
parent da55e963be
commit 4d4a007a00

View file

@ -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";
};
}