helm/configuration.shiro.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
# Shiro -- my laptop
{ config, lib, pkgs, ... }:
let nixos-hardware = builtins.fetchTarball https://github.com/NixOS/nixos-hardware/archive/master.tar.gz;
in {
imports = [
./. # import common settings
# Hardware specific
"${nixos-hardware}/dell/xps/13-9370"
./modules/desktop/bspwm.nix
2019-12-03 21:10:51 -08:00
./modules/audio/spotify.nix
2019-08-06 10:56:54 -07:00
./modules/browser/firefox.nix
./modules/dev
./modules/graphics/aseprite.nix
./modules/graphics/gimp.nix
./modules/editors/emacs.nix
./modules/editors/vim.nix
2019-08-06 10:56:54 -07:00
./modules/shell/direnv.nix
./modules/shell/git.nix
./modules/shell/gnupg.nix
./modules/shell/pass.nix
2019-11-26 14:07:35 -08:00
./modules/shell/surfraw.nix
2019-08-06 10:56:54 -07:00
./modules/shell/zsh.nix
# ./modules/video/obs.nix
#
2019-10-27 12:31:08 -07:00
./modules/services/syncthing.nix
2019-08-06 10:56:54 -07:00
# Themes
./themes/pianocat
];
networking.hostName = "shiro";
networking.wireless.enable = true;
# Optimize power use
environment.systemPackages = [ pkgs.powertop pkgs.acpi ];
services.tlp.enable = true;
powerManagement.powertop.enable = true;
# Monitor backlight control
programs.light.enable = true;
# Encrypted /home
boot.initrd.luks.devices = [
{
name = "home";
device = "/dev/nvme0n1p8";
preLVM = true;
allowDiscards = true;
}
];
}