mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-17 05:29:27 -06:00
Update flake.nix
This commit is contained in:
parent
9b0634ec43
commit
74f2df5968
1 changed files with 66 additions and 53 deletions
17
flake.nix
17
flake.nix
|
@ -12,7 +12,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
# Import the configuration.nix we used before, so that the old configuration file can still take effect.
|
# 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
|
# 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
|
./hardware-configuration.nix
|
||||||
|
|
||||||
({config, pkgs, ...}: {
|
({config, pkgs, ...}: {
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "nixos";
|
hostName = "nixos";
|
||||||
|
networkmanager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.aaronh = {
|
users.users.aaronh = {
|
||||||
|
@ -62,6 +62,19 @@
|
||||||
wget
|
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 = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PermitRootLogin = "no";
|
settings.PermitRootLogin = "no";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue