mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
virt changes including new NixVirt input
This commit is contained in:
parent
3e6621fa2a
commit
01730af9ee
14 changed files with 341 additions and 30 deletions
|
|
@ -32,13 +32,12 @@ check_venv() {
|
|||
js="js"
|
||||
nix="nix"
|
||||
|
||||
${if gui.enable then ''
|
||||
${optionalString gui.enable ''
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
py=""
|
||||
js=""
|
||||
nix=""
|
||||
fi
|
||||
'' else ''
|
||||
''}
|
||||
|
||||
python_icon="\[\033[01;33m\]$py\[\033[00m\]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{ pkgs, lib, config, osConfig, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
|
@ -18,10 +18,12 @@ in
|
|||
text = "${config.user.keys.pgp.primary}";
|
||||
trust = 5;
|
||||
}
|
||||
] ++ optionals (osConfig.networking.hostName == "desktop") [
|
||||
{
|
||||
text = "${config.user.keys.pgp.windows}";
|
||||
trust = 5;
|
||||
}
|
||||
] ++ optionals (osConfig.networking.hostName == "workstation") [
|
||||
{
|
||||
text = "${config.user.keys.pgp.work}";
|
||||
trust = 5;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{ pkgs, lib, config, osConfig, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
|
@ -16,6 +16,7 @@ in
|
|||
qrencode
|
||||
|
||||
docker
|
||||
] ++ optionals (osConfig.virtualisation.libvirt.enable) [
|
||||
virt-manager
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue