Regenerated
This commit is contained in:
+380
-380
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -707,9 +707,9 @@ in
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** =generated/modules/traveldroid/apps/flameshot.nix=
|
||||
** =generated/disabled/modules/traveldroid/apps/flameshot.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/flameshot.nix :noweb yes :mkdirp yes :eval never
|
||||
#+BEGIN_SRC nix :tangle generated/disabled/modules/traveldroid/apps/flameshot.nix :noweb yes :mkdirp yes :eval never
|
||||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
in
|
||||
{
|
||||
############################
|
||||
# System-level packages
|
||||
############################
|
||||
environment.systemPackages = with pkgs; [
|
||||
flameshot
|
||||
];
|
||||
|
||||
############################
|
||||
# Home Manager user-level configuration
|
||||
############################
|
||||
home-manager.users."${username}" = {
|
||||
home.sessionVariables = {
|
||||
SCREENSHOT_TOOL = "flameshot";
|
||||
USERNAME = username;
|
||||
};
|
||||
|
||||
# Create ~/Pictures/Screenshots by touching a dummy file
|
||||
home.file."Pictures/Screenshots/.keep" = {
|
||||
text = ""; # empty file
|
||||
};
|
||||
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
uiColor = "#97cbbe";
|
||||
contrastUiColor = "#1e1e2e";
|
||||
showDesktopNotification = true;
|
||||
savePath = "/home/${username}/Pictures/Screenshots";
|
||||
filenamePattern = "$Y-$m-$d_$H-$M-$S";
|
||||
useGrimAdapter = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.flameshot = {
|
||||
Service = {
|
||||
Environment = [
|
||||
"WAYLAND_DISPLAY=wayland-1"
|
||||
"XDG_CURRENT_DESKTOP=hyprland"
|
||||
"XDG_SESSION_TYPE=wayland"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user