hosts/main: store configuration previously in device-configuration.nix in git
This commit is contained in:
parent
da55e963be
commit
4d4a007a00
1 changed files with 22 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -19,12 +19,32 @@
|
||||||
../nix-os/xdg-default-apps.nix
|
../nix-os/xdg-default-apps.nix
|
||||||
../nix-os/services/nix-binary-cache.nix
|
../nix-os/services/nix-binary-cache.nix
|
||||||
../nix-os/udev.nix
|
../nix-os/udev.nix
|
||||||
|
|
||||||
|
(builtins.fetchTarball "https://github.com/nix-community/nixos-vscode-server/tarball/fc900c16efc6a5ed972fb6be87df018bcf3035bc")
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = 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";
|
system.stateVersion = "23.05";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue