Regenerated
This commit is contained in:
+307
-307
File diff suppressed because it is too large
Load Diff
+7
-7
@@ -450,7 +450,6 @@ This is top file of this level which contains just an import statement for all r
|
|||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Resolve the default username from host config
|
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -458,23 +457,24 @@ in
|
|||||||
# System-level packages
|
# System-level packages
|
||||||
############################
|
############################
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
flameshot # screenshot tool
|
flameshot
|
||||||
];
|
];
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# Home Manager user-level configuration
|
# Home Manager user-level configuration
|
||||||
############################
|
############################
|
||||||
home-manager.users."${username}" = {
|
home-manager.users."${username}" = {
|
||||||
|
home.stateVersion = "26.05";
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
SCREENSHOT_TOOL = "flameshot";
|
SCREENSHOT_TOOL = "flameshot";
|
||||||
USERNAME = username;
|
USERNAME = username;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create ~/Pictures/Screenshots
|
# Create ~/Pictures/Screenshots by touching a dummy file
|
||||||
home.file."Pictures/Screenshots/.keep" = {
|
home.file."Pictures/Screenshots/.keep" = {
|
||||||
text = "";
|
text = ""; # empty file
|
||||||
directory = true; # ensures the parent folder exists
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Resolve the default username from host config
|
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -9,22 +8,23 @@ in
|
|||||||
# System-level packages
|
# System-level packages
|
||||||
############################
|
############################
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
flameshot # screenshot tool
|
flameshot
|
||||||
];
|
];
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# Home Manager user-level configuration
|
# Home Manager user-level configuration
|
||||||
############################
|
############################
|
||||||
home-manager.users."${username}" = {
|
home-manager.users."${username}" = {
|
||||||
|
home.stateVersion = "26.05";
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
SCREENSHOT_TOOL = "flameshot";
|
SCREENSHOT_TOOL = "flameshot";
|
||||||
USERNAME = username;
|
USERNAME = username;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create ~/Pictures/Screenshots
|
# Create ~/Pictures/Screenshots by touching a dummy file
|
||||||
home.file."Pictures/Screenshots/.keep" = {
|
home.file."Pictures/Screenshots/.keep" = {
|
||||||
text = "";
|
text = ""; # empty file
|
||||||
directory = true; # ensures the parent folder exists
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user