new machine, altostratus, my remote-work remote box.
This commit is contained in:
parent
44cd697b63
commit
7ea5e9ed3c
9 changed files with 184 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
pgks,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
|
24
configs/nixos/distrobox.nix
Normal file
24
configs/nixos/distrobox.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
};
|
||||
|
||||
home-manager.users.${config.host.details.user} = {config, ...}: {
|
||||
home.file.distroboxConf = {
|
||||
target = ".config/distrobox/distrobox.conf";
|
||||
text = ''
|
||||
container_additional_volumes="/nix/store:/nix/store:ro /etc/profiles/per-user:/etc/profiles/per-user:ro /etc/static/profiles/per-user:/etc/static/profiles/per-user:ro"
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
distrobox
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue