Update
This commit is contained in:
parent
b5d2b43545
commit
762035ab3e
9 changed files with 26 additions and 15 deletions
|
@ -76,7 +76,7 @@
|
||||||
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
# Containers
|
# Containers
|
||||||
"albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; };
|
"albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "xfce"; };
|
||||||
};
|
};
|
||||||
deploy.nodes = {
|
deploy.nodes = {
|
||||||
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; };
|
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; };
|
||||||
|
|
9
home-manager/common/desktops/xfce/default.nix
Normal file
9
home-manager/common/desktops/xfce/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
xdg.configFile."ranger-rc-conf" = {
|
||||||
|
enable = true;
|
||||||
|
target = "./xfce4/test.conf";
|
||||||
|
text = ''
|
||||||
|
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
0
home-manager/hosts/rdesktop/desktops/xfce/default.nix
Normal file
0
home-manager/hosts/rdesktop/desktops/xfce/default.nix
Normal file
|
@ -27,6 +27,8 @@
|
||||||
tailscale-systray
|
tailscale-systray
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.xrdp.defaultWindowManager = "startplasma-x11";
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
"get-theme-times" = {
|
"get-theme-times" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -21,5 +21,10 @@
|
||||||
|
|
||||||
services.xrdp.defaultWindowManager = "xfce4-session";
|
services.xrdp.defaultWindowManager = "xfce4-session";
|
||||||
|
|
||||||
# environment.systemPackages = with pkgs; [ ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
papirus-folders
|
||||||
|
papirus-nord
|
||||||
|
xfce.xfwm4-themes
|
||||||
|
xfce4-docklike-plugin
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"/etc/nixos/git" = {
|
"/etc/nixos/git" = {
|
||||||
hostPath = "/etc/nixos/git";
|
hostPath = "/etc/nixos/git";
|
||||||
isReadOnly = true;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@ in {
|
||||||
|
|
||||||
# Set up the bridge network:
|
# Set up the bridge network:
|
||||||
containers = {
|
containers = {
|
||||||
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; };
|
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "plasma6"; unfree = true; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
53 # DNS
|
||||||
80 # HTTP
|
80 # HTTP
|
||||||
443 # HTTPS
|
443 # HTTPS
|
||||||
42420 # Vintage Story
|
42420 # Vintage Story
|
||||||
|
@ -16,8 +17,10 @@
|
||||||
4190 # Mailserver
|
4190 # Mailserver
|
||||||
4443 # Jitsi
|
4443 # Jitsi
|
||||||
5696 # dsm-kmip server
|
5696 # dsm-kmip server
|
||||||
|
3389 # RDP
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
|
53 # DNS (udp)
|
||||||
3478 # Headscale DERP (udp)
|
3478 # Headscale DERP (udp)
|
||||||
10000 # Jitsi Meet (udp)
|
10000 # Jitsi Meet (udp)
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,14 +1,6 @@
|
||||||
{
|
{
|
||||||
fileSystems."/Storage/Data" = {
|
fileSystems."/Storage" = {
|
||||||
device = "192.168.1.13:/Data";
|
device = "192.168.1.100:/volume1/Storage";
|
||||||
fsType = "nfs";
|
|
||||||
};
|
|
||||||
fileSystems."/Storage/Video" = {
|
|
||||||
device = "192.168.1.13:/Video";
|
|
||||||
fsType = "nfs";
|
|
||||||
};
|
|
||||||
fileSystems."/Storage/Backups" = {
|
|
||||||
device = "192.168.1.13:/Backups";
|
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue