sound with pipewire

This commit is contained in:
Till 2023-05-21 11:44:04 +02:00
parent e0cde17c34
commit 5780347895
5 changed files with 44 additions and 17 deletions

View file

@ -2,7 +2,6 @@
description = "First stab at a flake for my system config"; description = "First stab at a flake for my system config";
inputs = { inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
@ -15,10 +14,10 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
{ {
networking.hostName = "nova"; networking.hostName = "nova";
} }
./system/gnome.nix
./system ./system
./system/gnome.nix
./system/hardware-nova.nix ./system/hardware-nova.nix
]; ];
}; };
@ -32,12 +31,6 @@
]; ];
programs.sway.enable = true; programs.sway.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
} }
./system ./system
./system/hardware-romulus.nix ./system/hardware-romulus.nix

View file

@ -5,6 +5,12 @@
home.homeDirectory = "/home/till"; home.homeDirectory = "/home/till";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 32;
};
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
@ -12,12 +18,6 @@
}; };
}; };
# xsession.pointerCursor = {
# name = "Adwaita";
# package = pkgs.gnome.adwaita-icon-theme;
# size = 32;
# };
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -45,12 +45,14 @@
w3m w3m
openssl openssl
gnupg gnupg
urlscan
# office # office
vdirsyncer vdirsyncer
khal khal
khard khard
gnome.gnome-sound-recorder gnome.gnome-sound-recorder
zoom-us
# publishing # publishing
pandoc pandoc
@ -58,8 +60,13 @@
zotero zotero
zathura zathura
# graphics
inkscape
gimp
# web # web
qutebrowser qutebrowser
nyxt
# deveolopment # deveolopment
nodejs nodejs

View file

@ -1,10 +1,28 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
accounts.email = {
accounts.ktiu = {
primary = true;
address = "till@ktiu.net";
realName = "Till Straube";
imap.host = "shorbut.ktiu.net";
smtp.host = "shorbut.ktiu.net";
userName = "till";
neomutt.enable = true;
passwordCommand = "echo 'hi'";
};
};
programs.neomutt = { programs.neomutt = {
# extraConfig = builtins.readFile ./config.vim; # extraConfig = builtins.readFile ./config.vim;
enable = true; enable = true;
vimKeys = true; vimKeys = true;
binds = [
{ key = "V"; action = "noop"; map = ["index" "pager"]; }
];
macros = [
{ key = "c"; action = "<enter-command>set signature=$my_signature<enter><mail>"; map = ["index" "pager"]; }
];
# xdg.configFile."nvim/autocommmands.vim".source = ./autocommands.vim; # xdg.configFile."nvim/autocommmands.vim".source = ./autocommands.vim;
# xdg.configFile."nvim/ftplugin/markdown.vim".source = ./ftplugin/markdown.vim; # xdg.configFile."nvim/ftplugin/markdown.vim".source = ./ftplugin/markdown.vim;
# xdg.configFile."nvim/ftplugin/r.vim".source = ./ftplugin/r.vim; # xdg.configFile."nvim/ftplugin/r.vim".source = ./ftplugin/r.vim;

View file

@ -30,6 +30,15 @@
enable = true; enable = true;
}; };
sound.enable = false;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.joypixels.acceptLicense = true; nixpkgs.config.joypixels.acceptLicense = true;

View file

@ -5,7 +5,7 @@
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-browser-connector.enable = true; services.gnome.gnome-browser-connector.enable = true;
nixpkgs.environment.extraPackages = [ environment.systemPackages = [
pkgs.gnome.gnome-tweaks pkgs.gnome.gnome-tweaks
]; ];
} }