many changes i made in the last weeks
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, self, secretsDir, inputs, hostname, ... }:
|
||||
{ config, pkgs, self, secretsDir, inputs, hostName, ... }:
|
||||
{
|
||||
# The home.stateVersion option does not have a default and must be set
|
||||
home.stateVersion = "23.05";
|
||||
@@ -20,11 +20,19 @@
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
MIZE_STORE =
|
||||
if hostName == "main" then "/home/me/work/app-data/mize"
|
||||
else if hostName == "nico" then "/root/work/app-data/mize"
|
||||
else if hostName == "fusu" && config.home.username == "files" then "/home/files/storage/files/mize"
|
||||
else "/home/me/host/mize";
|
||||
};
|
||||
home.sessionPath = [
|
||||
"/home/me/work/path-extra"
|
||||
"/home/me/host/path-extra"
|
||||
"${self}/mybin"
|
||||
];
|
||||
|
||||
programs.direnv.enable = true;
|
||||
|
||||
home.file = {
|
||||
|
||||
@@ -34,7 +42,7 @@
|
||||
''; # documentation for this config file: https://svnbook.red-bean.com/en/1.7/svn.advanced.confarea.html
|
||||
|
||||
# rclone.conf only on main
|
||||
} // (if hostname == "main" then { ".rclone.conf".source = config.lib.file.mkOutOfStoreSymlink "${secretsDir}/rclone-conf"; } else {});
|
||||
} // (if hostName == "main" then { ".rclone.conf".source = config.lib.file.mkOutOfStoreSymlink "${secretsDir}/rclone-conf"; } else {});
|
||||
|
||||
home.packages = with pkgs; [
|
||||
unar
|
||||
|
||||
Reference in New Issue
Block a user