diff --git a/README.md b/README.md index 06642bb..c14ce66 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) -This repo stores nix to manage my machines. The initial config here was heavily inspired from [here](https://gitlab.com/samuelgrf/nixos-config/-/tree/master/). +This repo stores nix to manage my machines. The initial structure was inspired from [here](https://gitlab.com/samuelgrf/nixos-config/-/tree/master/). ## Setup diff --git a/home/default.nix b/home/default.nix index b31d7dc..a33e83c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -284,6 +284,7 @@ Plug 'airblade/vim-gitgutter' Plug 'ap/vim-css-color' Plug 'artur-shaik/vim-javacomplete2' + Plug 'endel/vim-github-colorscheme' Plug 'fatih/vim-go' Plug 'godlygeek/tabular' Plug 'hashivim/vim-terraform' @@ -291,12 +292,13 @@ Plug 'junegunn/fzf' Plug 'junegunn/fzf.vim' Plug 'leafgarland/typescript-vim' - Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'morhetz/gruvbox' + Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'peitalin/vim-jsx-typescript' Plug 'plasticboy/vim-markdown' Plug 'rust-lang/rust.vim' Plug 'scrooloose/nerdtree' + Plug 'sheerun/vim-polyglot' Plug 'tpope/vim-commentary' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-repeat' diff --git a/machines/hephaestus/hardware.nix b/machines/hephaestus/hardware.nix index 5f20a61..4f43a07 100644 --- a/machines/hephaestus/hardware.nix +++ b/machines/hephaestus/hardware.nix @@ -1,31 +1,26 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = + [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d3079c84-11b2-4c2b-bf9e-5a067854a21d"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/d3079c84-11b2-4c2b-bf9e-5a067854a21d"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/CEF0-328B"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/CEF0-328B"; + fsType = "vfat"; + }; swapDevices = - [ { device = "/dev/disk/by-uuid/39a775f9-e5b8-4029-875a-1df6d99cad5c"; } - ]; + [{ device = "/dev/disk/by-uuid/39a775f9-e5b8-4029-875a-1df6d99cad5c"; }]; # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; @@ -37,5 +32,4 @@ # c # Commit changes. # ''; - }