forked from mirrors_public/oddlama_nix-config
feat: build a much more minimal config for installing
This commit is contained in:
parent
73897f648d
commit
73d7a42879
11 changed files with 136 additions and 113 deletions
|
@ -1,4 +1,10 @@
|
|||
{inputs, ...}: {
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
minimal,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||
|
@ -25,15 +31,17 @@
|
|||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
graphical.gaming.enable = true;
|
||||
|
||||
}
|
||||
// lib.optionalAttrs (!minimal) {
|
||||
# TODO goodbye once -sk keys.
|
||||
environment.shellInit = ''
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
'';
|
||||
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
graphical.gaming.enable = true;
|
||||
|
||||
stylix.fonts.sizes = {
|
||||
#desktop = 20;
|
||||
applications = 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue