mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 23:26:55 -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;
|
virt-manager.enable = true;
|
||||||
# Utilities
|
# Utilities
|
||||||
# git is not optional
|
# git is not optional
|
||||||
|
appimage.enable = true;
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
yubikey.enable = true;
|
yubikey.enable = true;
|
||||||
kdeconnect.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 = [
|
imports = [
|
||||||
|
./appimage.nix
|
||||||
./docker.nix
|
./docker.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = lib.mkIf (config.virt-manager.enable) {
|
config = lib.mkIf (config.virt-manager.enable) {
|
||||||
virtualization.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.virtiofsd
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/annika";
|
home = "/home/annika";
|
||||||
description = "Annika Merris";
|
description = "Annika Merris";
|
||||||
extraGroups = [ "networkmanager" "wheel", "libvirtd" ];
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
|
||||||
hashedPasswordFile = config.sops.secrets.annika_password.path;
|
hashedPasswordFile = config.sops.secrets.annika_password.path;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue