bash history now in hostname subfolder
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ persistentDir, confDir, ... }:
|
||||
{ persistentDir, confDir, hostname, ... }:
|
||||
{
|
||||
programs.bash = {
|
||||
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
historyFile = "${persistentDir}/bash-history";
|
||||
historyFile = "${persistentDir}/${hostname}/bash-history";
|
||||
historyFileSize = 100000;
|
||||
historyControl = [ "ignoredups" ];
|
||||
historyIgnore = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, secretsDir, inputs, ... }:
|
||||
{ pkgs, secretsDir, inputs, config, ... }:
|
||||
{
|
||||
users.users.me = {
|
||||
isNormalUser = true;
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
#home-manager._module.args = { inherit inputs; };
|
||||
home-manager.users.me = import ./home.nix;
|
||||
home-manager.extraSpecialArgs = {
|
||||
hostname = config.networking.hostName;
|
||||
};
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
hack-font
|
||||
|
||||
Reference in New Issue
Block a user