This commit is contained in:
Matt Nish-Lapidus 2024-11-09 14:14:31 -05:00
parent bdc0de8b47
commit b500763572
4 changed files with 63 additions and 20 deletions

View file

@ -129,10 +129,25 @@
services.xserver.videoDrivers = [ "nvidia" ];
networking.hostName = "eddie";
networking = {
hostName = "eddie";
domain = "local";
nameservers = [ "1.1.1.1" "1.0.0.1" ];
networkmanager = {
enable = true;
wifi.powersave = true;
# connectionConfig = "connection.mdns=2";
};
};
# Enable networking
networking.networkmanager.enable = true;
services.resolved = {
enable = true;
extraConfig = ''
LLMNR=no
ReadEtcHosts=no
DNSSEC=no
'';
};
# Set your time zone.
time.timeZone = "America/Toronto";
@ -173,7 +188,6 @@
#services.emacs = {
# enable = true;
# package = pkgs.emacs;
#};
# Enable sound with pipewire.
@ -260,6 +274,7 @@
config = builtins.readFile ../../dotfiles/dot_config/kmonad/snap.kbd;
};
razer = {
extraGroups = [ "openrazer" ];
device = "/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/razer.kbd;
};
@ -294,7 +309,7 @@
zlib
zstd
stdenv.cc.cc
curl
curlFull
openssl
attr
libssh
@ -307,6 +322,8 @@
systemd
fontconfig
freetype
gnutls
util-linux
];
fonts.fontconfig.enable = true;
@ -320,6 +337,11 @@
# enable the OpenSSH daemon.
services.openssh.enable = true;
# services.avahi = {
# enable = true;
# nssmdns = true;
# };
# add user accounts
users.users.emenel = {
isNormalUser = true;