-
-
Save blissdev/0d0260a88fbb1798b2d314a0ac308c05 to your computer and use it in GitHub Desktop.
VMWare NixOS
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
| [options] | |
| font = Liberation Mono 10 | |
| [colors] | |
| foreground = #FFFFFF | |
| background = #000000 |
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
| xset r rate 200 30 | |
| if not pgrep -x unclutter > /dev/null | |
| unclutter -idle 1 -root & | |
| end |
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
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ | |
| ./hardware-configuration.nix | |
| ]; | |
| boot.loader.grub.enable = true; | |
| boot.loader.grub.version = 2; | |
| boot.loader.grub.device = "/dev/sda"; | |
| networking.hostName = "ahoyana"; | |
| i18n = { | |
| consoleFont = "Lat2-Terminus16"; | |
| consoleKeyMap = "jp106"; | |
| defaultLocale = "en_US.UTF-8"; | |
| }; | |
| time.timeZone = "Asia/Tokyo"; | |
| environment.systemPackages = with pkgs; [ | |
| # system | |
| usbutils | |
| # virtualization | |
| open-vm-tools | |
| # editor | |
| emacs | |
| vim | |
| # editor | |
| emacs | |
| vim | |
| # development | |
| git | |
| kubernetes | |
| # pgp | |
| gnupg | |
| opensc | |
| pcsctools | |
| libu2f-host | |
| yubikey-personalization | |
| # terminal | |
| fish | |
| termite | |
| tmux | |
| # misc | |
| aspell | |
| curl | |
| dmenu | |
| htop | |
| unclutter | |
| wget | |
| ]; | |
| services = { | |
| pcscd.enable = true; | |
| vmwareGuest.enable = true; | |
| # openssh.enable = true; | |
| xserver = { | |
| enable = true; | |
| layout = "jp"; | |
| windowManager.xmonad.enable = true; | |
| windowManager.default = "xmonad"; | |
| windowManager.xmonad.enableContribAndExtras = true; | |
| desktopManager.xterm.enable = false; | |
| desktopManager.default = "none"; | |
| displayManager = { | |
| auto = { | |
| enable = true; | |
| user = "bojo"; | |
| }; | |
| sessionCommands = '' | |
| gpg-connect-agent /bye | |
| GPG_TTY=$(tty) | |
| export GPG_TTY | |
| ''; | |
| }; | |
| }; | |
| }; | |
| fonts = { | |
| enableFontDir = true; | |
| enableGhostscriptFonts = true; | |
| fonts = with pkgs; [ | |
| hack-font | |
| source-code-pro | |
| unifont | |
| ]; | |
| }; | |
| virtualisation = { | |
| docker.enable = true; | |
| }; | |
| users.extraUsers.bojo = { | |
| isNormalUser = true; | |
| extraGroups = ["wheel" "input" "audio" "video" "docker"]; | |
| uid = 1000; | |
| }; | |
| system.stateVersion = "16.03"; | |
| } |
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
| import XMonad | |
| import XMonad.Layout.Spacing | |
| myTerminal = "termite -e fish" | |
| myLayoutHook = spacing 2 $ Tall 1 (3 / 100) (1/2) | |
| myNormalBorderColor = "#3BB9FF" | |
| myFocusedBorderColor = "#FFA62F" | |
| main = xmonad defaultConfig | |
| { terminal = myTerminal | |
| , layoutHook = myLayoutHook | |
| , normalBorderColor = myNormalBorderColor | |
| , focusedBorderColor = myFocusedBorderColor | |
| , focusFollowsMouse = False | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment