formatted all files with nixfmt, added env variable to hold secrets

This commit is contained in:
pagedmov
2024-11-09 16:20:27 -05:00
parent d38da56ba2
commit 2a1ba18c09
93 changed files with 948 additions and 1254 deletions

View File

@@ -1,12 +1,5 @@
{
pkgs,
username,
...
}: {
imports = [
./hardware.nix
./home.nix
];
{ pkgs, username, ... }: {
imports = [ ./hardware.nix ./home.nix ];
movOpts = {
nixSettings.enable = true;
networkModule.enable = true;
@@ -18,9 +11,7 @@
jellyfinConfig.enable = true;
caddyConfig.enable = true;
};
networking.firewall = {
allowedTCPPorts = [ 443 8920 ];
};
networking.firewall = { allowedTCPPorts = [ 443 8920 ]; };
environment = {
etc."tmpfiles.d/home-permissions.conf".text = ''
d /home/pagedmov 0750 pagedmov users -
@@ -29,9 +20,6 @@
PATH = "${pkgs.clang-tools}/bin:$PATH";
TERM = "kitty";
};
shells = with pkgs; [
zsh
bash
];
shells = with pkgs; [ zsh bash ];
};
}