This commit is contained in:
albert 2024-03-21 22:21:00 +09:00
parent 92b4451e9c
commit 06c2aefb47
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
3 changed files with 8 additions and 1 deletions

View file

@ -45,6 +45,7 @@
pkgs-unstable ? import inputs.nixpkgs-unstable pkgs-unstable ? import inputs.nixpkgs-unstable
{ inherit system; config.allowUnfree = unfree; hostPlatform = system; } { inherit system; config.allowUnfree = unfree; hostPlatform = system; }
}: { }: {
bindMounts = import ../nixos/containers/${hostname}/mounts.nix;
autoStart = true; autoStart = true;
privateNetwork = false; privateNetwork = false;
specialArgs = { inherit pkgs pkgs-unstable hostname username desktop theme system repo unfree stateVersion tskey; }; specialArgs = { inherit pkgs pkgs-unstable hostname username desktop theme system repo unfree stateVersion tskey; };

View file

@ -3,7 +3,7 @@
../../common/desktops/${desktop} ../../common/desktops/${desktop}
]; ];
networking.firewall.allowedTCPPorts = [ 3389 ]; networking.firewall.allowedTCPPorts = [ 3389 ];:
services.xrdp = { services.xrdp = {
enable = true; enable = true;

View file

@ -0,0 +1,6 @@
{ ... }: {
"/etc/nixos/git" = {
hostPath = "/etc/nixos/git";
isReadOnly = true;
};
}