egirls-nixos/configuration.nix

36 lines
749 B
Nix
Raw Normal View History

2024-02-25 20:32:00 +00:00
{ pkgs, ... }: {
imports = [ ./hardware-configuration.nix ];
2024-02-25 20:51:45 +00:00
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
2024-02-25 20:57:21 +00:00
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
2024-02-25 20:41:57 +00:00
environment.systemPackages = with pkgs; [
kitty.terminfo
kakoune
vim
git
htop
wget
less
killall
];
2024-02-25 20:32:00 +00:00
2024-02-25 20:41:57 +00:00
boot.tmp.cleanOnBoot = true;
2024-02-25 20:32:00 +00:00
zramSwap.enable = true;
networking.hostName = "egirls";
networking.domain = "gay";
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN"
];
system.stateVersion = "23.11";
}