added serial console 'tio' to embedded dev role.
This commit is contained in:
parent
d4c1aaac94
commit
e240bb3608
3 changed files with 15 additions and 10 deletions
|
@ -10,15 +10,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${config.host.details.user} = {config, ...}: {
|
home-manager.users.${config.host.details.user} = {config, ...}: {
|
||||||
home.file.distroboxConf = {
|
home.file.distroboxConf = {
|
||||||
target = ".config/distrobox/distrobox.conf";
|
target = ".config/distrobox/distrobox.conf";
|
||||||
text = ''
|
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"
|
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; [
|
home.packages = with pkgs; [
|
||||||
distrobox
|
distrobox
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
../../configs/nixos/sshd.nix
|
../../configs/nixos/sshd.nix
|
||||||
../../configs/nixos/secrets.nix
|
../../configs/nixos/secrets.nix
|
||||||
../../configs/nixos/tailscale.nix
|
../../configs/nixos/tailscale.nix
|
||||||
../../roles/nixos/embedded-dev.nix
|
../../roles/nixos/embedded-dev.nix
|
||||||
({
|
({
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|
|
@ -8,4 +8,9 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../configs/nixos/distrobox.nix
|
../../configs/nixos/distrobox.nix
|
||||||
];
|
];
|
||||||
|
home-manager.users.${config.host.details.user} = {config, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
tio
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue