diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-10-22 04:54:52 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-10-22 04:57:35 -0400 |
commit | dc5fbc56786601d3e04ae4425c348f479eca54ab (patch) | |
tree | ac9dc9192d323683167093a39536262ccd11ac7e /nixos/aji.nix | |
parent | 8a2785041c4a77b4995b93be9d7e18bd9234b5f1 (diff) |
Delete old nixos configs
Diffstat (limited to 'nixos/aji.nix')
-rw-r--r-- | nixos/aji.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/nixos/aji.nix b/nixos/aji.nix deleted file mode 100644 index abda9f8..0000000 --- a/nixos/aji.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ config, pkgs, hardware, ... }: - -{ - imports = [ - ./configuration.nix - ]; - - # Use the gummiboot efi boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.timeout = 0; - boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.luks.devices = [ - { - device = "/dev/sda2"; - name = "crypt"; - preLVM = true; - allowDiscards = true; - } - ]; - boot.kernelModules = ["tp_smapi" "thinkpad_acpi" "fbcon" "i915"]; - boot.kernelParams = ["quiet" "acpi_osi=\"!Windows 2012\""]; - boot.extraModulePackages = [config.boot.kernelPackages.tp_smapi]; - boot.extraModprobeConfig = '' - options i915 enable_rc6=1 - ''; - - networking.hostName = "aji"; - - fileSystems."/" = { - mountPoint = "/"; - device = "/dev/mapper/cryptvg-root"; - fsType = "btrfs"; - options = ["subvol=aji-root" "discard" "compress=lzo"]; - }; - swapDevices = - [ { device = "/dev/mapper/cryptvg-swap"; } - ]; - - services.tlp.enable = true; - services.tlp.extraConfig = '' - # Needed for either SSD or btrfs. - SATA_LINKPWR_ON_BAT=max_performance - ''; - - services.xserver.xkbModel = "thinkpad60"; - - # The NixOS release to be compatible with for stateful data such as databases. - system.stateVersion = "16.03"; -} |