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