nixos/configuration.nix
ISnortPennies b2af978996 cleaned up flake
condensed and cleaned up home-manager configuration
moved nix settings to nix.nix (nice name i know)
moved all shell configuration to shell.nix
moved default package exclusion to packages.nix
switched to nitch from neofetch
moved font from overlay
removed almost pointless librewolf home-manager configuration
changed wallpaper
2023-01-30 02:44:40 -05:00

84 lines
1.6 KiB
Nix

{
pkgs,
settings,
...
}: {
system.stateVersion = settings.version;
security.sudo = {
enable = true;
execWheelOnly = true;
extraConfig = ''
Defaults env_keep += "EDITOR VISUAL PAGER SYSTEMD_PAGERSECURE TERMINAL"
'';
};
#hardware stuff
hardware = {
enableRedistributableFirmware = true;
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
};
#sound settings
security.rtkit.enable = true;
sound.enable = false; #disable alsa
services.pipewire = {
enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
networking = {
firewall = {
enable = true;
allowPing = true;
};
networkmanager.enable = true;
};
#enable ssh
programs = {
mtr.enable = true; #ping and traceroute
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
#themeing
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
#time settings
time.timeZone = "America/New_York";
services = {
timesyncd = {
enable = true;
servers = [
"time.google.com"
"time2.google.com"
];
};
};
#terminal stuff
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
useXkbConfig = true;
};
programs.dconf.enable = true;
services.gvfs.enable = true; #gvfs for pcmanfm
}