-
-
Save monokrome/b7dcd914ff6dd3729d637fc73c21e118 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = [ | |
./hardware-configuration.nix | |
]; | |
boot.loader.systemd-boot.enable = true; | |
boot.loader.efi.canTouchEfiVariables = true; | |
i18n = { | |
consoleFont = "Lat2-Terminus16"; | |
consoleKeyMap = "us"; | |
defaultLocale = "en_US.UTF-8"; | |
}; | |
environment.systemPackages = with pkgs; [ | |
curl | |
neovim | |
mosh | |
wget | |
]; | |
services.openssh.enable = true; | |
services.printing.enable = false; | |
services.xserver.enable = false; | |
sound.enable = false; | |
users.users.polar = { | |
extraGroups = [ "wheel" ]; | |
isNormalUser = true; | |
uid = 1000; | |
openssh = { | |
authorizedKeys = { | |
keys = [ | |
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcFNL43qh93++tfgF85fwe6meZmIXD5EAd2J2eLAYwqq8ugclRDgNF8R/Agarm5O2WibV3o3SWYBHzqdpjy0bmhx85ggA3LXwG8teNMIoQYKtyq2CxFSc34U1wwOlj5OUIIXh5MV7gQ4toyyOTwPhzfSsUTfyqqWhRDTed8mOJX7ueBtVs1VJ5GkLYsBi2GhPeawpLzg1tyMPM1n0rzmFvJy6FTKkk3vIKbOvUR6uvYsIrUAQKe+HF+TJrZBIBf08D764m/b1ONwdVTlT+fbGi3gRS9gCzWTCbjFSP6itXybi3OIUDWwGrZ9puS1SfAEszLvr3ccmpUH53r+c5ZVKt polar@france.home.monokro.me" | |
]; | |
}; | |
}; | |
}; | |
networking = { | |
usePredictableInterfaceNames = false; | |
defaultGateway = "38.124.1.111"; | |
nameservers = [ "8.8.8.8" "4.4.4.4" ]; | |
hostName = "aaaaaa.services.monokro.me"; | |
wireless.enable = false; | |
firewall.enable = true; | |
interfaces.eno1.ip4.addresses = [ | |
{ | |
address = "38.124.1.106"; | |
prefixLength = 29; | |
} | |
]; | |
}; | |
system.stateVersion = "18.09"; # Never change this. Ever. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment