feat: a lot of stuff
This commit is contained in:
parent
9806ee2a4e
commit
bc60f155aa
19 changed files with 250 additions and 20 deletions
21
users/gandalf/modules/audio.nix
Normal file
21
users/gandalf/modules/audio.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
xdg.configFile."wireplumber/wireplumber.conf.d/51-scarlett-samplerate.conf" = {
|
||||
text = ''
|
||||
monitor.alsa.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
node.nick = "Scarlett 2i2 USB"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
audio.rate = 44100
|
||||
api.acp.probe-rate = 44100
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./audio.nix
|
||||
./dconf.nix
|
||||
./fzf.nix
|
||||
./gui
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
gnome.nautilus # the file manager for gnome
|
||||
gnome.simple-scan # simple scanning utility
|
||||
pppdf
|
||||
feh # a light-weight image viewer
|
||||
vlc # cross-platform media player and streaming server
|
||||
zathura # a highly customizable and functional pdf viewer
|
||||
|
|
@ -41,9 +42,14 @@
|
|||
|
||||
] ++ lib.optionals nixosConfig.bchmnn.printing.enable [
|
||||
system-config-printer # graphical user interface for cups administration
|
||||
|
||||
] ++ lib.optionals nixosConfig.bchmnn.games.enable [
|
||||
openjdk17 # the open-source java development kit
|
||||
prismlauncher # a free, open source launcher for minecraft
|
||||
|
||||
] ++ lib.optionals nixosConfig.bchmnn.ratbag.enable [
|
||||
piper # gtk frontend for ratbagd mouse config daemon
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue