Remove unnecessary quotes

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-02 19:30:22 +03:00
parent 6809acf2ae
commit 82c0175a19
28 changed files with 163 additions and 180 deletions

View File

@@ -1,10 +1,10 @@
{ user ? throw "user argument is required" }: { config, lib, pkgs, ... }:
let
hmConfig = config.home-manager.users."${user.name}";
hmConfig = config.home-manager.users.${user.name};
in
{
home-manager.users."${user.name}" = {
home-manager.users.${user.name} = {
home = {
packages = with pkgs; [ hyprshot swappy ];
sessionVariables.HYPRSHOT_DIR = "${hmConfig.xdg.userDirs.pictures}/screenshots";
@@ -19,9 +19,7 @@ in
swappyWrapper = lib.meta.getExe (pkgs.writeShellApplication {
name = "swappy-wrapper";
runtimeInputs = with pkgs; [ swappy ];
text = ''
swappy -f "$1"
'';
text = "swappy -f \"$1\"";
});
in
[