Added Appimage and virt-manager

This commit is contained in:
Annika Merris 2024-08-28 11:08:02 -04:00
parent 93edbaf48d
commit e0c1ea8d62
5 changed files with 23 additions and 2 deletions

View file

@ -84,6 +84,7 @@ inputs.nixpkgs.lib.nixosSystem {
virt-manager.enable = true;
# Utilities
# git is not optional
appimage.enable = true;
docker.enable = true;
yubikey.enable = true;
kdeconnect.enable = true;

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
options = {
appimage = {
enable = lib.mkEnableOption {
description = "Install appimage-run";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.appimage.enable) {
environment.systemPackages = [
pkgs.appimage-run
];
};
}

View file

@ -1,6 +1,7 @@
{ ... }:
{
imports = [
./appimage.nix
./docker.nix
./git.nix
./kdeconnect.nix

View file

@ -9,7 +9,10 @@
};
};
config = lib.mkIf (config.virt-manager.enable) {
virtualization.libvirtd.enable = true;
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
environment.systemPackages = [
pkgs.virtiofsd
];
};
}

View file

@ -6,7 +6,7 @@
isNormalUser = true;
home = "/home/annika";
description = "Annika Merris";
extraGroups = [ "networkmanager" "wheel", "libvirtd" ];
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
hashedPasswordFile = config.sops.secrets.annika_password.path;
};