more cleanup
This commit is contained in:
parent
e0346fadb4
commit
70d50a1d0e
4 changed files with 2 additions and 13 deletions
|
@ -1,12 +1,9 @@
|
|||
{ lib, config, ... }: lib.mkIf(config.withAudio) {
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = false;
|
||||
hardware.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
#jack.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ inputs, pkgs, ... }: {
|
||||
imports = [
|
||||
./audio
|
||||
|
@ -90,6 +86,4 @@
|
|||
|
||||
programs.fish.enable = true;
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ pkgs, lib, config, ... }: lib.mkIf (config.withGnome) {
|
||||
# Enable the GNOME Desktop Environment.
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
# Don't install unnecessary packages
|
||||
|
||||
services.gnome.core-utilities.enable = false;
|
||||
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.withNvidia) {
|
||||
# Load nvidia driver
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue