{ config, lib, pkgs, ... }: { imports = [ ../config/desktop.nix ../config/thinkpad.nix ../config/yubikey.nix # ../config/ap.nix ]; nixpkgs.config.allowUnfree = true; nixpkgs.config.packageOverrides = pkgs: { my-steam-run = (pkgs.steam.override { extraPkgs = pkgs: [ ]; }).run; }; environment.systemPackages = with pkgs; [ # my-steam-run # wine ]; networking = { hostName = "aji"; }; boot = { initrd.luks.devices = { cryptroot = { device = "/dev/disk/by-id/ata-INTEL_SSDSC2BW240H6_CVTR609508W0240CGN-part2"; allowDiscards = true; }; }; extraModulePackages = [ config.boot.kernelPackages.tp_smapi ]; extraModprobeConfig = '' options i915 enable_rc6=1 ''; }; fileSystems = { "/boot" = lib.mkForce { mountPoint = "/boot"; device = "/dev/disk/by-uuid/829B-F56C"; fsType = "vfat"; }; "/" = { mountPoint = "/"; device = "/dev/mapper/cryptvg-root"; fsType = "btrfs"; options = ["subvol=aji-root" "discard" "compress=lzo"]; }; "/btrfs" = { mountPoint = "/btrfs"; device = "/dev/mapper/cryptvg-root"; fsType = "btrfs"; options = ["discard" "compress=lzo"]; }; }; swapDevices = [ { device = "/dev/mapper/cryptvg-swap"; } ]; }