mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 11:05:23 -05:00
Added Appimage and virt-manager
This commit is contained in:
parent
93edbaf48d
commit
e0c1ea8d62
5 changed files with 23 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
16
modules/common/utilities/appimage.nix
Normal file
16
modules/common/utilities/appimage.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./appimage.nix
|
||||
./docker.nix
|
||||
./git.nix
|
||||
./kdeconnect.nix
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue