# 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" # discord, mainly # recording video & audio # making music # playing music # art & design # # virtualbox for testing # Services # Themes ]; theme.wallpaper = ; networking.wireless.enable = true; hardware.opengl.enable = true; time.timeZone = "America/Toronto"; # time.timeZone = "Europe/Copenhagen"; # Optimize power use environment.systemPackages = [ pkgs.acpi ]; 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; } ]; }