Taylor Bockman
9 years ago
26 changed files with 292 additions and 35 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
|
||||
xmonad.hs:132:28: Warning: |
||||
In the use of ‘defaultConfig’ |
||||
(imported from XMonad, but defined in XMonad.Config): |
||||
Deprecated: "Use def (from Data.Default, and re-exported by XMonad and XMonad.Config) instead." |
||||
|
||||
xmonad.hs:135:34: Warning: |
||||
In the use of ‘defaultPP’ (imported from XMonad.Hooks.DynamicLog): |
||||
Deprecated: "Use def (from Data.Default, and re-exported by XMonad.Hooks.DynamicLog) instead." |
||||
|
||||
xmonad.hs:178:49: Warning: |
||||
In the use of ‘defaultConfig’ |
||||
(imported from XMonad, but defined in XMonad.Config): |
||||
Deprecated: "Use def (from Data.Default, and re-exported by XMonad and XMonad.Config) instead." |
||||
|
||||
xmonad.hs:203:63: Warning: |
||||
In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): |
||||
Deprecated: "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead." |
||||
|
||||
xmonad.hs:240:62: Warning: |
||||
In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): |
||||
Deprecated: "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead." |
||||
|
||||
xmonad.hs:241:59: Warning: |
||||
In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): |
||||
Deprecated: "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead." |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,10 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment.systemPackages = with pkgs; [ |
||||
pulseaudioFull # Audio |
||||
]; |
||||
|
||||
hardware = { |
||||
pulseaudio.enable = true; |
||||
}; |
||||
} |
@ -0,0 +1,7 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment.systemPackages = with pkgs; [ |
||||
irssi |
||||
skype |
||||
]; |
||||
} |
@ -0,0 +1,51 @@
|
||||
{ config, pkgs, ... }: |
||||
|
||||
{ |
||||
imports = |
||||
[ # Include the results of the hardware scan. |
||||
./hardware-configuration.nix |
||||
./display |
||||
./audio |
||||
./input |
||||
./users |
||||
./development |
||||
./comms |
||||
./software |
||||
]; |
||||
|
||||
# Use the gummiboot efi boot loader. |
||||
boot.loader.gummiboot.enable = true; |
||||
boot.loader.efi.canTouchEfiVariables = true; |
||||
|
||||
nixpkgs.config = { |
||||
allowUnfree = true; |
||||
}; |
||||
|
||||
boot.initrd.luks.devices = [ |
||||
{ name = "root"; device = "/dev/sda3"; } |
||||
]; |
||||
|
||||
boot.initrd.luks.cryptoModules = [ "aes" "sha256" "sha1" "cbc" ]; |
||||
|
||||
networking.hostName = "ares"; # Define your hostname. |
||||
networking.networkmanager.enable = true; |
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. |
||||
|
||||
i18n = { |
||||
consoleFont = "inconsolata"; |
||||
consoleKeyMap = "us"; |
||||
defaultLocale = "en_US.UTF-8"; |
||||
}; |
||||
|
||||
time.timeZone = "US/Pacific"; |
||||
|
||||
# Enable the OpenSSH daemon. |
||||
services.openssh.enable = true; |
||||
|
||||
# Enable CUPS to print documents. |
||||
# services.printing.enable = true; |
||||
|
||||
# The NixOS release to be compatible with for stateful data such as databases. |
||||
system.stateVersion = "16.03"; |
||||
|
||||
} |
@ -0,0 +1,21 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment = { |
||||
variables = { |
||||
EDITOR = "nvim"; |
||||
}; |
||||
|
||||
systemPackages = with pkgs; [ |
||||
bar-xft # Lightweight xcb based bar |
||||
cabal-install # Haskell package installer |
||||
curl # Tool for general HTTP, FTP, etc work |
||||
ghc # Haskell Compiler |
||||
git # Source control |
||||
neovim # Better vim |
||||
python3 # Python 3 |
||||
silver-searcher # Better than grep |
||||
vim # Regular ole' vim |
||||
wget # Standard GNU package for HTTP, FTP, etc file retrieval |
||||
]; |
||||
}; |
||||
} |
@ -0,0 +1,53 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
imports = [ |
||||
./terminal.nix |
||||
]; |
||||
|
||||
environment.systemPackages = with pkgs; [ |
||||
arandr # GUI frontend for xrandr |
||||
compton # Windowing system |
||||
dmenu # Application launcher |
||||
feh # Wallpaper manager |
||||
python3Packages.udiskie # Automatically mount USB drives |
||||
scrot # Screenshot software |
||||
unclutter # Mouse hider |
||||
xlibs.xmodmap # keyboard reconfiguration |
||||
xmonad-with-packages # Tiling window manager |
||||
xorg.xbacklight # Backlight manager |
||||
]; |
||||
|
||||
# services.xserver.videoDriver = |
||||
|
||||
services = { |
||||
udisks2.enable = true; |
||||
|
||||
xserver = { |
||||
enableTCP = false; |
||||
exportConfiguration = false; |
||||
enable = true; |
||||
layout = "us"; |
||||
|
||||
displayManager = { |
||||
sessionCommands = '' |
||||
xset r rate 300 30 |
||||
unclutter -grab & |
||||
udiskie & |
||||
feh --bg-fill ~/bgs/dark_night.jpg & |
||||
compton --config /dev/null & |
||||
''; |
||||
}; |
||||
|
||||
desktopManager = { |
||||
xterm.enable = false; |
||||
xfce.enable = false; |
||||
}; |
||||
|
||||
windowManager = { |
||||
xmonad.enable = true; |
||||
xmonad.enableContribAndExtras = true; |
||||
default = "xmonad"; |
||||
}; |
||||
}; |
||||
}; |
||||
} |
@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment.systemPackages = with pkgs; [ |
||||
rxvt_unicode-with-plugins # Terminal emulator |
||||
tmux # Terminal multiplexer |
||||
tree # Better file tree |
||||
zsh # ZShell |
||||
xclip # Command line clipboard tool |
||||
]; |
||||
|
||||
programs.zsh.enable = true; |
||||
} |
||||
|
@ -0,0 +1,32 @@
|
||||
# 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, ... }: |
||||
|
||||
{ |
||||
imports = |
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> |
||||
]; |
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; |
||||
boot.kernelModules = [ "fbcon" "kvm_intel" ]; # kvm_intel is disabled on the t440s |
||||
boot.extraModulePackages = [ ]; |
||||
|
||||
fileSystems."/" = |
||||
{ device = "/dev/mapper/vg-root"; |
||||
fsType = "ext4"; |
||||
}; |
||||
|
||||
fileSystems."/boot" = |
||||
{ |
||||
mountPoint = "/boot"; |
||||
device = "/dev/sda2"; |
||||
fsType = "vfat"; |
||||
}; |
||||
|
||||
swapDevices = |
||||
[ { device = "/dev/mapper/vg-swap"; } |
||||
]; |
||||
|
||||
nix.maxJobs = 8; |
||||
} |
@ -0,0 +1,6 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
imports = [ |
||||
./touchpad.nix |
||||
]; |
||||
} |
@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment.systemPackages = with pkgs; [ |
||||
xorg.xf86inputsynaptics |
||||
]; |
||||
|
||||
services.xserver = { |
||||
synaptics = { |
||||
enable = true; |
||||
twoFingerScroll = true; |
||||
}; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@
|
||||
{ config, pkgs, ... }: |
||||
{ |
||||
environment.systemPackages = with pkgs; [ |
||||
byzanz # Screen recording software |
||||
chromium # Browser |
||||
gtk # For GTK+ themes |
||||
htop # System monitor |
||||
mplayer # Video player |
||||
xdotool # Diagnostic tool for mouse and keyboard |
||||
]; |
||||
|
||||
nixpkgs.config = { |
||||
chromium = { |
||||
enablePepperFlash = true; |
||||
enablePepperPdf = true; |
||||
}; |
||||
}; |
||||
} |
Loading…
Reference in new issue