nixos: update system config
This commit is contained in:
parent
3e910a1291
commit
b2b97bd91a
|
@ -15,7 +15,7 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# boot.loader.efi.efiSysMount = "/mnt/boot";
|
||||
|
||||
networking.hostName = "pow"; # Define your hostname.
|
||||
networking.hostName = "SYS27-L1HL"; # Define your hostname.
|
||||
networking.networkmanager.enable = true;
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
|
@ -29,9 +29,9 @@
|
|||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
services.openvpn.servers = {
|
||||
library = { config = '' config /root/.config/openvpn/client.ovpn ''; };
|
||||
};
|
||||
# services.openvpn.servers = {
|
||||
# library = { config = '' config /root/.config/openvpn/client.ovpn ''; };
|
||||
# };
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
@ -51,13 +51,15 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
docker
|
||||
docker-compose
|
||||
emacs
|
||||
fish
|
||||
glibc
|
||||
wget
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
programs.fish.enable = true;
|
||||
# programs.gnupg.agent = {
|
||||
# enable = true;
|
||||
# enableSSHSupport = true;
|
||||
|
@ -96,11 +98,12 @@
|
|||
|
||||
# Enable the KDE Desktop Environment.
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.desktopManager.gnome3.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.catalina = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
|
@ -120,4 +123,3 @@
|
|||
system.stateVersion = "20.03"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue