Skip to content

Instantly share code, notes, and snippets.

@layus
Created November 20, 2017 20:55
Show Gist options
  • Select an option

  • Save layus/f5ad459f5a4e13be93fe8d86b51d46b7 to your computer and use it in GitHub Desktop.

Select an option

Save layus/f5ad459f5a4e13be93fe8d86b51d46b7 to your computer and use it in GitHub Desktop.
Minimalistic kde setup to test chromium integration.
# Build & run with
# NIXOS_CONFIG=$(pwd)/kde-chromium.nix nix-build '<nixpkgs/nixos>' -A vm
# ./result/bin/run-nixos-vm
{config, pkgs, ...}:
{
services.xserver = {
enable = true;
layout = "be";
xkbOptions = "eurosign:e";
};
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.auto.enable = true;
services.xserver.displayManager.auto.user = "test";
environment.systemPackages = with pkgs; [
chromium
];
users.extraUsers.test = {
isNormalUser = true;
extraGroups = [
"networkmanager"
"wheel"
];
uid = 1000;
password = "test";
};
nix.package = pkgs.nixUnstable;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment