This commit is contained in:
mjallen18
2024-04-06 18:47:18 -05:00
parent 75ebde2cce
commit eb456b934f
9 changed files with 254 additions and 90 deletions

View File

@@ -36,6 +36,8 @@ in {
jellyseerr.enable = true;
homepage.enable = true;
sabnzbd.enable = true;
radarr.enable = true;
@@ -54,6 +56,8 @@ in {
orca-slicer.enable = true;
vscode.enable = true;
swag.enable = true;
};
@@ -86,6 +90,14 @@ in {
enableTimeMachine = true;
timeMachineMaxSize = "1T";
};
app_data = {
public = true;
sharePath = "/mnt/ssd/ssd_app_data";
};
nix-config = {
public = true;
sharePath = "/home/matt/nix-config";
};
};
};
@@ -287,6 +299,11 @@ in {
# etc."nut/upsmon.conf".source = ./upsmon.conf;
# List packages installed in system profile. To search, run:
# $ nix search wget
sessionVariables = rec {
CACHIX_AGENT_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJlY2RjYjJiNi05YWQ4LTRiYmMtYWEwYS1mNGU5Yzk1ODM2OTMiLCJzY29wZXMiOiJhZ2VudCJ9.8SENqsNZ-UIFV4atm-cZnMT6LR08Iz_raAZi5QVsppo";
};
systemPackages = with pkgs; [
vim
wget
@@ -408,7 +425,11 @@ in {
isSystemUser = true;
uid = 911;
group = "jallen-nas";
extraGroups = [ "jallen-nas" ]; # Enable sudo for the user.
extraGroups = [
"jallen-nas"
"docker"
"podman"
]; # Enable sudo for the user.
hashedPassword = password;
};

View File

@@ -31,31 +31,31 @@
programs.command-not-found.enable = true;
home.packages = with pkgs; [
homepage-dashboard
# 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"
}
}
]
}
'';
# # 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"
# }
# }
# ]
# }
# '';
}