Compare commits
7 Commits
home_manag
...
1210a44ecc
| Author | SHA1 | Date | |
|---|---|---|---|
| 1210a44ecc | |||
| e2b040e5f0 | |||
| f5b3a04378 | |||
| a4c5a10c4f | |||
| b8a8e1bdce | |||
| 40a48eb605 | |||
| 266f563c2f |
@@ -2,7 +2,7 @@
|
|||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ config, lib, pkgs, self, paths, keys, ... }:
|
{ config, lib, pkgs, paths, keys, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# NAS Mounting
|
# NAS Mounting
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily"; # You can also use "daily" or a cron-like spec
|
dates = "daily"; # You can also use "daily" or a cron-like spec
|
||||||
options = "--delete-older-than 7d"; # Keep only 7 days of unreferenced data
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
@@ -153,8 +153,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/".neededForBoot = true;
|
|
||||||
|
|
||||||
# Public host ssh key (kept in sync with the private one)
|
# Public host ssh key (kept in sync with the private one)
|
||||||
environment.etc."ssh/ssh_host_ed25519_key.pub".text =
|
environment.etc."ssh/ssh_host_ed25519_key.pub".text =
|
||||||
"${keys.hosts.lazyworkhorse.main}";
|
"${keys.hosts.lazyworkhorse.main}";
|
||||||
@@ -164,6 +162,19 @@
|
|||||||
services.zfs.autoSnapshot.enable = true;
|
services.zfs.autoSnapshot.enable = true;
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
|
||||||
|
# hardware.graphics = {
|
||||||
|
# enable = true;
|
||||||
|
# enable32Bit = true;
|
||||||
|
# extraPackages = with pkgs; [
|
||||||
|
# rocmPackages.clr
|
||||||
|
# rocmPackages.rocblas
|
||||||
|
# rocmPackages.rocrand
|
||||||
|
# rocmPackages.rocminfo
|
||||||
|
# rocmPackages.hipcc
|
||||||
|
# rocmPackages.hiprt
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
hosts = {
|
hosts = {
|
||||||
lazyworkhorse = {
|
lazyworkhorse = {
|
||||||
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINmXqD+bBveCYf4khmARA0uaCzkBOUIE077ZrInLNs1O";
|
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBmPv4JssvhHGIx85UwFxDSrL5anR4eXB/cd9V2i9wdW";
|
||||||
github = "";
|
github = "";
|
||||||
gitea = "";
|
gitea = "";
|
||||||
bootstrap = "age1r796v2uldtspawyh863pks74sd2pwcan8j4e4pjzsvkmr3vjja9qpz5ste";
|
bootstrap = "age1r796v2uldtspawyh863pks74sd2pwcan8j4e4pjzsvkmr3vjja9qpz5ste";
|
||||||
|
|||||||
@@ -1,14 +1,9 @@
|
|||||||
{ config, pkgs, self, ... }:
|
{ config, pkgs, self, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
network_compose_dir = pkgs.stdenv.mkDerivation {
|
network_compose_dir = builtins.path {
|
||||||
name = "network_compose_dir";
|
name = "network_compose_dir";
|
||||||
src = self + "/assets/compose/network";
|
path = self + "/assets/compose/network";
|
||||||
dontUnpack = true;
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp -r $src/* $out/
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,9 @@
|
|||||||
{ config, pkgs, self, ... }:
|
{ config, pkgs, self, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
passwordmanager_compose_dir = pkgs.stdenv.mkDerivation {
|
passwordmanager_compose_dir = builtins.path {
|
||||||
name = "passwordmanager_compose_dir";
|
name = "passwordmanager_compose_dir";
|
||||||
src = self + "/assets/compose/passwordmanager";
|
path = self + "/assets/compose/passwordmanager";
|
||||||
dontUnpack = true;
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp -r $src/* $out/
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,9 @@
|
|||||||
{ config, pkgs, self, ... }:
|
{ config, pkgs, self, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
versioncontrol_compose_dir = pkgs.stdenv.mkDerivation {
|
versioncontrol_compose_dir = builtins.path {
|
||||||
name = "versioncontrol_compose_dir";
|
name = "versioncontrol_compose_dir";
|
||||||
src = self + "/assets/compose/versioncontrol";
|
path = self + "/assets/compose/versioncontrol";
|
||||||
dontUnpack = true;
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp -r $src/* $out/
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user