mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
20 lines
489 B
Nix
20 lines
489 B
Nix
|
{ config, lib, pkgs, username, ... }:
|
||
|
with lib.hm.gvariant;
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
gnome.gnome-sound-recorder
|
||
|
];
|
||
|
|
||
|
dconf.settings = {
|
||
|
"org/gnome/SoundRecorder" = {
|
||
|
audio-channel = "mono";
|
||
|
audio-profile = "flac";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
systemd.user.tmpfiles.rules = [
|
||
|
"d ${config.home.homeDirectory}/Audio 0755 ${username} users - -"
|
||
|
"L+ ${config.home.homeDirectory}/.local/share/org.gnome.SoundRecorder/ - - - - ${config.home.homeDirectory}/Audio/"
|
||
|
];
|
||
|
}
|