forked from foxora/nix
init
This commit is contained in:
commit
a07bd5fd9b
66 changed files with 6115 additions and 0 deletions
1
homes/modules/services/pulse/client.conf.template
Normal file
1
homes/modules/services/pulse/client.conf.template
Normal file
|
|
@ -0,0 +1 @@
|
|||
cookie-file = /run/user/{uid}/pulse/cookie
|
||||
9
homes/modules/services/pulse/pulse.nix
Normal file
9
homes/modules/services/pulse/pulse.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, lib, pkgs, config, osConfig, ... }:
|
||||
{
|
||||
# writes ./client.conf to ~/.config/pulse/client.conf
|
||||
xdg.configFile."pulse/client.conf".text = builtins.replaceStrings
|
||||
["{uid}"]
|
||||
# make sure ur user id is set!!!
|
||||
["${toString osConfig.users.users.${config.home.username}.uid}"]
|
||||
(builtins.readFile ./client.conf.template);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue