Update flake.nix

This commit is contained in:
Aaron Honeycutt 2024-01-09 14:27:27 +00:00
parent 9b0634ec43
commit 74f2df5968

View file

@ -12,7 +12,7 @@
modules = [
# Import the configuration.nix we used before, so that the old configuration file can still take effect.
# Note: /etc/nixos/configuration.nix itself is also a Nix Module, so you can import it directly here
# ./configuration.nix
#./configuration.nix
./hardware-configuration.nix
({config, pkgs, ...}: {
@ -40,7 +40,7 @@
networking = {
hostName = "nixos";
networkmanager.enable = true;
};
users.users.aaronh = {
@ -62,6 +62,19 @@
wget
];
# Enable/Disable hardware
## Turn off PulseAudio
hardware.pulseaudio.enable = false;
# Enable Pipewire
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";