Gnome : Use gnused.
This commit is contained in:
parent
984d430510
commit
f41c9a3f01
|
@ -53,6 +53,8 @@ in {
|
|||
};
|
||||
|
||||
# Auto-load config on start.
|
||||
environment.systemPackages = with pkgs; [ dconf ];
|
||||
|
||||
systemd.user.services.dconfload = {
|
||||
description = "Load Gnome dconf settings on startup.";
|
||||
wantedBy = [ "graphical-session-pre.target" ];
|
||||
|
@ -60,7 +62,7 @@ in {
|
|||
after = [ "dotfiles.service" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
sed -i -e "s/voronind/$(whoami)/g" ${dconfConfig}
|
||||
${pkgs.gnused}/bin/sed -i -e "s/voronind/$(${pkgs.coreutils}/bin/whoami)/g" ${dconfConfig}
|
||||
${pkgs.dconf}/bin/dconf load / < ${dconfConfig}
|
||||
${pkgs.git}/bin/git checkout ${dconfConfig}
|
||||
'';
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
appimage-run
|
||||
binwalk
|
||||
btop
|
||||
coreutils
|
||||
cryptsetup
|
||||
curl
|
||||
ddrescue
|
||||
|
@ -15,6 +16,7 @@
|
|||
git
|
||||
gnome.gnome-tweaks
|
||||
gnumake
|
||||
gnused
|
||||
imagemagick
|
||||
jq
|
||||
lm_sensors
|
||||
|
|
Reference in a new issue