gendry: install minecraft
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-05-12 18:27:06 +01:00
parent c16e226d09
commit 47be02d6e1
2 changed files with 17 additions and 4 deletions

View File

@ -54,10 +54,6 @@
preAuthKeyFile = config.age.secrets."tailscale/gendry.jakehillion-terminals.ts.hillion.co.uk".path; preAuthKeyFile = config.age.secrets."tailscale/gendry.jakehillion-terminals.ts.hillion.co.uk".path;
}; };
## Password (for interactive logins)
age.secrets."passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake".file = ../../secrets/passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake.age;
users.users."jake".passwordFile = config.age.secrets."passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake".path;
security.sudo.wheelNeedsPassword = lib.mkForce true; security.sudo.wheelNeedsPassword = lib.mkForce true;
## Enable btrfs compression ## Enable btrfs compression
@ -76,5 +72,16 @@
bitrate = 320; bitrate = 320;
}; };
}; };
## Password (for interactive logins)
age.secrets."passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake".file = ../../secrets/passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake.age;
users.users."${config.custom.user}" = {
passwordFile = config.age.secrets."passwords/gendry.jakehillion-terminals.ts.hillion.co.uk/jake".path;
packages = with pkgs; [
prismlauncher
];
};
}; };
} }

View File

@ -60,4 +60,10 @@
device = "/data/system/var/lib/bluetooth"; device = "/data/system/var/lib/bluetooth";
options = [ "bind" ]; options = [ "bind" ];
}; };
## Minecraft
fileSystems."/home/jake/.local/share/PrismLauncher" = {
device = "/data/users/jake/.local/share/PrismLauncher";
options = [ "bind" ];
};
} }