mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-05 07:05:40 +01:00
Compare commits
No commits in common. "dc1bd0dc1807d06a48f79892b4396253f7ea494c" and "efff74008b59e7706065450fcb6c222a4799eb29" have entirely different histories.
dc1bd0dc18
...
efff74008b
2 changed files with 9 additions and 12 deletions
|
|
@ -1,13 +1,12 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (import ./hardware.nix) ]
|
[(import ./hardware.nix)]
|
||||||
++ [ (import ./network.nix) ]
|
++ [(import ./network.nix)]
|
||||||
++ [ (import ./program.nix) ]
|
++ [(import ./program.nix)]
|
||||||
++ [ (import ./sshd.nix) ]
|
++ [(import ./sshd.nix)]
|
||||||
++ [ (import ./security.nix) ]
|
++ [(import ./security.nix)]
|
||||||
++ [ (import ./services.nix) ]
|
++ [(import ./services.nix)]
|
||||||
++ [ (import ./system.nix) ]
|
++ [(import ./system.nix)]
|
||||||
++ [ (import ./user.nix) ]
|
++ [(import ./user.nix)];
|
||||||
++ [ (import ./virtualization.nix) ];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@
|
||||||
libvirtd.enable =
|
libvirtd.enable =
|
||||||
if (host == "violet") then
|
if (host == "violet") then
|
||||||
true
|
true
|
||||||
else if (host == "dandelion") then
|
|
||||||
true
|
|
||||||
else if (host == "sakura") then
|
else if (host == "sakura") then
|
||||||
true
|
true
|
||||||
else if (host == "yoshino") then
|
else if (host == "yoshino") then
|
||||||
|
|
@ -38,7 +36,7 @@
|
||||||
# { };
|
# { };
|
||||||
|
|
||||||
users.groups.libvirtd.members =
|
users.groups.libvirtd.members =
|
||||||
if (config.virtualisation.libvirtd.enable == true) then [ username ] else [ ];
|
if (config.virtualisation.waydroid.enable == true) then [ username ] else [ ];
|
||||||
|
|
||||||
# Enable qemu etc
|
# Enable qemu etc
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue