Created
November 20, 2017 20:55
-
-
Save layus/f5ad459f5a4e13be93fe8d86b51d46b7 to your computer and use it in GitHub Desktop.
Minimalistic kde setup to test chromium integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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