nas dashboard

This commit is contained in:
mjallen18
2024-03-27 13:17:37 -05:00
parent c577261b43
commit 0883053f0c

61
hosts/nas/home.nix Normal file
View File

@@ -0,0 +1,61 @@
{ pkgs, ... }:
{
home.username = "admin";
home.homeDirectory = "/home/admin";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
programs = {
fish.enable = true;
mangohud.enable = true;
java.enable = true;
};
programs.git = {
enable = true;
userName = "mjallen18";
userEmail = "matt.l.jallen@gmail.com";
aliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
# p = "pull --rebase";
pu = "push";
};
};
programs.command-not-found.enable = true;
home.packages = with pkgs; [
homepage-dashboard
];
# Configure homepage-dashboard
home.file.".homepage-dashboard/config.json".text = ''
{
"modules": [
{
"type": "greeting",
"config": {
"greetings": [
"Welcome to My Dashboard!"
]
}
},
{
"type": "clock"
},
{
"type": "weather",
"config": {
"location": "St. Paul, MN"
}
}
]
}
'';
}