Crash tweaks
This commit is contained in:
parent
60b23897bf
commit
89082006fe
|
@ -8,6 +8,7 @@
|
|||
imports = [
|
||||
];
|
||||
|
||||
# Setup nixbuild.net, since this laptop is somewhat under powered
|
||||
programs.ssh.extraConfig = ''
|
||||
Host eu.nixbuild.net
|
||||
PubkeyAcceptedKeyTypes ssh-ed25519
|
||||
|
@ -15,7 +16,6 @@
|
|||
IPQoS throughput
|
||||
IdentityFile /home/nathan/.ssh/id_ed25519
|
||||
'';
|
||||
|
||||
programs.ssh.knownHosts = {
|
||||
nixbuild = {
|
||||
hostNames = [ "eu.nixbuild.net" ];
|
||||
|
@ -23,14 +23,17 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Configure nix
|
||||
nix = {
|
||||
settings = {
|
||||
# Auto optimize the store after every action
|
||||
auto-optimise-store = true;
|
||||
trusted-users = [
|
||||
"root"
|
||||
"nathan"
|
||||
];
|
||||
};
|
||||
# GC agressively
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "hourly";
|
||||
|
@ -50,9 +53,30 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# Bootloader and plymouth
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
consoleMode = "auto";
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
plymouth = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Steam setup
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
gamescopeSession = {
|
||||
enable = true;
|
||||
args = [
|
||||
"--expose-wayland"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "crash"; # Define your hostname.
|
||||
|
||||
|
|
Loading…
Reference in a new issue