Regenerated
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
# Resolve the default username from host config
|
||||
username = config.defaultUser or "henrov";
|
||||
in
|
||||
{
|
||||
@@ -9,22 +8,23 @@ in
|
||||
# System-level packages
|
||||
############################
|
||||
environment.systemPackages = with pkgs; [
|
||||
flameshot # screenshot tool
|
||||
flameshot
|
||||
];
|
||||
|
||||
############################
|
||||
# Home Manager user-level configuration
|
||||
############################
|
||||
home-manager.users."${username}" = {
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
home.sessionVariables = {
|
||||
SCREENSHOT_TOOL = "flameshot";
|
||||
USERNAME = username;
|
||||
};
|
||||
|
||||
# Create ~/Pictures/Screenshots
|
||||
home.file."Pictures/Screenshots/.keep" = {
|
||||
text = "";
|
||||
directory = true; # ensures the parent folder exists
|
||||
};
|
||||
# Create ~/Pictures/Screenshots by touching a dummy file
|
||||
home.file."Pictures/Screenshots/.keep" = {
|
||||
text = ""; # empty file
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user