Compare commits
3 Commits
e313b4d303
...
0481cc019a
Author | SHA1 | Date | |
---|---|---|---|
0481cc019a | |||
60d2f5a347 | |||
f375357cb4 |
@ -96,6 +96,8 @@
|
||||
gnome-weather
|
||||
gnome-maps
|
||||
gnome-contacts
|
||||
pkgs.gnome-console
|
||||
totem
|
||||
];
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
@ -114,23 +116,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Enable sound with pipewire.
|
||||
# sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
|
@ -42,13 +42,14 @@
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" {
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix" {
|
||||
networking.wireless.enable = false;
|
||||
}
|
||||
./configuration.nix {
|
||||
networking.hostName = "kremzeek";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
sound.enable = true;
|
||||
# sound.enable = true;
|
||||
# hardware.pulseaudio.enable = true;
|
||||
}
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
@ -79,6 +80,7 @@
|
||||
sound.enable = true; # only on unstable?
|
||||
}
|
||||
./hardware/galvatron-hw.nix
|
||||
./modules/sound/pipewire.nix
|
||||
inputs.apple-silicon.nixosModules.apple-silicon-support
|
||||
inputs.home-manager-unstable.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@ -101,6 +103,7 @@
|
||||
}
|
||||
./server/services.nix
|
||||
./hardware/breakdown-hw.nix
|
||||
./modules/sound/pipewire.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@ -123,6 +126,7 @@
|
||||
sound.enable = true;
|
||||
}
|
||||
./hardware/starscream-hw.nix
|
||||
./modules/sound/pipewire.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@ -150,6 +154,7 @@
|
||||
}
|
||||
./modules/droidcam-obs.nix # only this machine
|
||||
./hardware/knockout-hw.nix
|
||||
./modules/sound/pipewire.nix
|
||||
inputs.home-manager-unstable.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -13,7 +13,7 @@ with lib.hm.gvariant;
|
||||
dconf.settings = {
|
||||
"org/gnome/shell" = {
|
||||
"favorite-apps" = [
|
||||
"org.gnome.Console.desktop"
|
||||
"kitty.desktop"
|
||||
"firefox.desktop"
|
||||
"emacs.desktop"
|
||||
"org.gnome.Settings.desktop"
|
||||
|
@ -3,7 +3,7 @@
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
ls = "exa";
|
||||
ls = "eza";
|
||||
};
|
||||
initExtra = ''
|
||||
export EDITOR=emacs\ -nw
|
||||
|
19
modules/sound/pipewire.nix
Normal file
19
modules/sound/pipewire.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
|
||||
{
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user