summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/kusanagi.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index 1012415..9d5a651 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -97,6 +97,7 @@ in
users.mutableUsers = false;
users.users.lx.passwordFile = "/Z/lx/.password";
users.users.lx.uid = 1000;
+ users.users.lx.extraGroups = [ "vboxusers" ];
# ---- no persistent home, use home manager to set everything up ----
@@ -113,6 +114,14 @@ in
nix.gc.automatic = false;
+ # ---- improve graphics ----
+
+ services.xserver.videoDrivers = [ "intel" ];
+ services.xserver.deviceSection = ''
+ Option "DRI" "2"
+ Option "TearFree" "true"
+ '';
+
# ---- printing ----
services.printing.enable = true;
@@ -121,6 +130,10 @@ in
services.avahi.nssmdns = true;
services.avahi.openFirewall = true;
+ # ---- other
+
+ virtualisation.virtualbox.host.enable = true;
+
# ----
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";