Added kernel config and tweaked NixOS

This commit is contained in:
Carolyn Saunders 2017-02-11 11:05:08 -08:00
parent 61048f11c8
commit 8abacc0b28
No known key found for this signature in database
GPG key ID: B1AF2F1FF688989A
6 changed files with 4359 additions and 73 deletions

4345
.config/.config Normal file

File diff suppressed because it is too large Load diff

View file

@ -40,9 +40,12 @@
};
networking = {
hostName = "Logan_MacBookAir_NixOS";
networkmanager.enable = true;
hostName = "Caroyln_MacBookAir_NixOS";
firewall.enable = true;
interfaceMonitor.enable = false;
wireless.enable = false; # Don't run wpa_supplicant (wicd will do it when necessary)
useDHCP = false; # Don't run dhclient on wlan0
wicd.enable = true;
};
powerManagement.enable = true;
@ -63,7 +66,10 @@
environment.systemPackages = with pkgs; [
dropbox-cli
emacs
neovim
bspwm
sxhkd
bar
feh
gcc
ghc
@ -72,25 +78,19 @@
chromium
haskellPackages.cabal-install
haskellPackages.ghc-mod
haskellPackages.hasktags
haskellPackages.hlint
haskellPackages.stack
haskellPackages.stylish-haskell
haskellPackages.xmobar
htop
kbdlight
networkmanagerapplet
nodejs
nox
python
python27Packages.udiskie
rxvt_unicode
silver-searcher
slock
sublime3
st
sudo
unzip
vim
wget
xautolock
xflux
@ -110,51 +110,11 @@
enable = true;
background = "/home/gigavinyl/Pictures/blook.png";
};
sessionCommands = ''
xrdb "${pkgs.writeText "xrdb.conf" ''
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!! URXVT !!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!Setup env.!!!!!!
URxvt.*foreground: #FFFFFF
URxvt.*background: #262626
URxvt.*cursorBlink: true
URxvt.perl-ext-common: selection-to-clipboard,default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
URxvt*scrollBar: false
!!!!!!Font!!!!!!
URxvt.font: xft:saucecodepowerline:size=11
URxvt.letterSpace: -1
!!!!!!tango color scheme!!!!!!
URxvt.*color0: #1e1e1e
URxvt.*color1: #cc0000
URxvt.*color2: #4e9a06
URxvt.*color3: #c4a000
URxvt.*color4: #3465a4
URxvt.*color5: #75507b
URxvt.*color6: #0b939b
URxvt.*color7: #d3d7cf
URxvt.*color8: #555753
URxvt.*color9: #ef2929
URxvt.*color10: #8ae234
URxvt.*color11: #fce94f
URxvt.*color12: #729fcf
URxvt.*color13: #ad7fa8
URxvt.*color14: #00f5e9
URxvt.*color15: #eeeeec
''}"
'';
};
windowManager = {
xmonad = {
bspwm = {
enable = true;
enableContribAndExtras = true;
};
default = "xmonad";
default = "bspwm";
};
synaptics = {
enable = true;
@ -183,26 +143,6 @@
extraGroups = [ "wheel" "networkmanager" "docker" ];
};
# Enable Emacs Daemon
# systemd.user.services.emacs = {
# description = "Emacs Daemon";
# environment = {
# GTK_DATA_PREFIX = config.system.path;
# SSH_AUTH_SOCK = "/run/user/1000/ssh-agent";
# GTK_PATH = "${config.system.path}/lib/gtk-3.0:${config.system.path}/lib/gtk-2.0";
# NIX_PROFILES = "${pkgs.lib.concatStringsSep " " config.environment.profiles}";
# TERMINFO_DIRS = "/run/current-system/sw/share/terminfo";
# ASPELL_CONF = "dict-dir /run/current-system/sw/lib/aspell";
# };
# serviceConfig = {
# Type = "forking";
# ExecStart = "${pkgs.emacs}/bin/emacs --daemon";
# ExecStop = "${pkgs.emacs}/bin/emacsclient --eval (kill-emacs)";
# Restart = "always";
# };
# wantedBy = [ "default.target" ];
# };
# Enable Udiskie Daemon
systemd.user.services."udiskie" = {
enable = true;
@ -228,10 +168,11 @@
ubuntu_font_family
source-code-pro
powerline-fonts
gohufont
];
};
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "16.03";
system.stateVersion = "16.09";
}