Skip to content

ralphpig/nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My NixOS work machine. home-manager config is in my dotfiles.

I did not commit:

  • hardware-configuration.nix
  • luks.nix

Example luks.nix

{
  config,
  lib,
  pkgs,
  ...
}: {
  # LUKS Encryption
  boot.initrd.luks.devices = {
    root = {
      device = "/dev/disk/by-...";
      preLVM = true;
    };

    # Better read/write on SSD
    # https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance
    bypassWorkqueues = true;
    allowDiscards = true;
  };
}

About

My NixOS Work Machine

Resources

Stars

Watchers

Forks

Languages