This commit is contained in:
albert 2024-03-22 20:32:53 +09:00
parent 9d819792a4
commit eff13f8fc6
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
5 changed files with 17 additions and 6 deletions

View file

@ -66,10 +66,10 @@
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
};
homeConfigurations = {
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
"albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; };
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
"albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; };
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; };
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; };
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };

View file

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

View file

@ -4,6 +4,8 @@
../../common/software/packages.nix
];
system.stateVersion = "24.05";
networking.firewall.allowedTCPPorts = [ 3389 ];
services.xrdp = {

View file

@ -1,6 +1,7 @@
{
"/etc/nixos/git" = {
hostPath = "/etc/nixos/git";
mountPoint = "/etc/nixos/git";
isReadOnly = false;
};
}

View file

@ -1,11 +1,19 @@
{ self, inputs, outputs, stateVersion, hmStateVersion, pkgs, pkgs-unstable, ... }:
let
libx = import ../../../lib {inherit self inputs outputs stateVersion hmStateVersion pkgs-unstable pkgs; };
libx = import ../../../lib {
inherit self inputs outputs hmStateVersion pkgs-unstable pkgs;
stateVersion = "24.05";
};
in {
# TODO: Set up Tailscale key
# Set up the bridge network:
containers = {
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; };
rdesktop = libx.mkContainer {
hostname = "rdesktop";
desktop = "plasma6";
unfree = true;
repo = "nixpkgs-unstable";
};
};
}