group
This commit is contained in:
@@ -25,6 +25,11 @@
|
|||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtual-machines = mkOption {
|
||||||
|
type = with types; bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -60,6 +65,13 @@
|
|||||||
size = 16;
|
size = 16;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dconf.settings = lib.mkIf config.homeconfig.virtual-machines {
|
||||||
|
"org/virt-manager/virt-manager/connections" = {
|
||||||
|
autoconnect = ["qemu:///system"];
|
||||||
|
uris = ["qemu:///system"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gtk = lib.mkIf (config.homeconfig.graphical && config.homeconfig.hyprland.enable) {
|
gtk = lib.mkIf (config.homeconfig.graphical && config.homeconfig.hyprland.enable) {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme.name = "Tokyonight-Dark";
|
theme.name = "Tokyonight-Dark";
|
||||||
|
|||||||
Submodule machines/homebox updated: b9d78079d2...cb79374140
@@ -11,7 +11,7 @@
|
|||||||
name = lib.mkDefault "nathan";
|
name = lib.mkDefault "nathan";
|
||||||
isNormalUser = lib.mkDefault true;
|
isNormalUser = lib.mkDefault true;
|
||||||
#hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
|
#hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
|
||||||
extraGroups = [ "networkmanager" "docker" ];
|
extraGroups = [ "networkmanager" "docker" "libvirtd" ];
|
||||||
openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (
|
openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (
|
||||||
ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts)
|
ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user