Compare commits

..

2 Commits

4 changed files with 20 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
# 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`).
{ config, lib, pkgs, self, paths, keys, ... }:
{ config, lib, pkgs, paths, keys, ... }:
{
# NAS Mounting
@@ -16,7 +16,7 @@
nix.gc = {
automatic = true;
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 = {
@@ -162,18 +162,18 @@
services.zfs.autoSnapshot.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
];
};
# 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.
# networking.firewall.allowedTCPPorts = [ ... ];

View File

@@ -1,14 +1,9 @@
{ config, pkgs, self, ... }:
let
network_compose_dir = pkgs.stdenv.mkDerivation {
network_compose_dir = builtins.path {
name = "network_compose_dir";
src = self + "/assets/compose/network";
dontUnpack = true;
installPhase = ''
mkdir -p $out
cp -r $src/* $out/
'';
path = self + "/assets/compose/network";
};
in
{

View File

@@ -1,14 +1,9 @@
{ config, pkgs, self, ... }:
let
passwordmanager_compose_dir = pkgs.stdenv.mkDerivation {
passwordmanager_compose_dir = builtins.path {
name = "passwordmanager_compose_dir";
src = self + "/assets/compose/passwordmanager";
dontUnpack = true;
installPhase = ''
mkdir -p $out
cp -r $src/* $out/
'';
path = self + "/assets/compose/passwordmanager";
};
in
{

View File

@@ -1,14 +1,9 @@
{ config, pkgs, self, ... }:
let
versioncontrol_compose_dir = pkgs.stdenv.mkDerivation {
versioncontrol_compose_dir = builtins.path {
name = "versioncontrol_compose_dir";
src = self + "/assets/compose/versioncontrol";
dontUnpack = true;
installPhase = ''
mkdir -p $out
cp -r $src/* $out/
'';
path = self + "/assets/compose/versioncontrol";
};
in
{