summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/kusanagi.nix13
-rw-r--r--nixpkgs/icewm.nix3
2 files changed, 15 insertions, 1 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";
diff --git a/nixpkgs/icewm.nix b/nixpkgs/icewm.nix
index 192aeb0..6897ca0 100644
--- a/nixpkgs/icewm.nix
+++ b/nixpkgs/icewm.nix
@@ -7,10 +7,11 @@
".config/sx/sxrc".executable = true;
".config/sx/sxrc".text = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -solid "#008080"
+ ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../xkb/symbols/custom-fr} $DISPLAY
xset s off
xset -dpms
pcmanfm -d &
- pcmanfm --desktop &
+ #pcmanfm --desktop &
nm-applet &
icewm-session
'';