1
0
Fork 0

this may be ugly.

This commit is contained in:
Paul Hartman 2025-01-14 17:05:59 -06:00
parent dd41e3a6ec
commit 557e84f964
3 changed files with 130 additions and 6 deletions

View file

@ -19,6 +19,49 @@
]; ];
}; };
# System mounts
fileSystems."/mnt/nas/OldNas" = {
device = "//192.168.1.194/OldNas";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
fileSystems."/mnt/nas/media" = {
device = "//192.168.1.194/media";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
fileSystems."/mnt/nas/tvshows" = {
device = "//192.168.1.194/TV-Shows";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
# UPDATE YOUR FUCKING ELECTRON APPS GUYS!!! # UPDATE YOUR FUCKING ELECTRON APPS GUYS!!!
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [

View file

@ -18,7 +18,50 @@
"/nix/var/nix/profiles/per-user/root/channels" "/nix/var/nix/profiles/per-user/root/channels"
]; ];
}; };
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
# System mounts
fileSystems."/mnt/nas/OldNas" = {
device = "//192.168.1.194/OldNas";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
fileSystems."/mnt/nas/media" = {
device = "//192.168.1.194/media";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
fileSystems."/mnt/nas/tvshows" = {
device = "//192.168.1.194/TV-Shows";
fsType = "cifs";
options = [
"noperm"
"defaults"
"users"
"credentials=/home/paul/.smbcredentials"
"uid=100"
"noauto"
"x-systemd.automount"
];
};
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
boot.kernelModules = ["drivetemp"]; boot.kernelModules = ["drivetemp"];
# Enable experimental Feature # Enable experimental Feature
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
@ -247,6 +290,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
## Printer Drivers ## Printer Drivers
cpuminer
# electrum-ltc
brlaser brlaser
## CLI Utils ## CLI Utils
tmux tmux
@ -255,9 +300,11 @@
micro micro
gitFull gitFull
glxinfo glxinfo
boinc # boinc
boinctui boinctui
htop htop
btop
# cgminer
#oraclejre #oraclejre
temurin-jre-bin-17 temurin-jre-bin-17
pciutils pciutils
@ -276,15 +323,17 @@
vscode-fhs vscode-fhs
yakuake yakuake
bitwarden bitwarden
libsForQt5.kdeconnect-kde # libsForQt5.kdeconnect-kde
kdePackages.kdeconnect-kde
# k3b # k3b
libation libation
rubyripper rubyripper
remmina remmina
virt-viewer virt-viewer
transmission_4-qt6 transmission_4-qt6
calibre # calibre
chirp #Currently failing build date=240827 chirp #Currently failing build date=240827
# litecoin
# Chat/Internet # Chat/Internet
#fluffychat #fluffychat
@ -330,6 +379,7 @@
## Games ## Games
# minecraft # minecraft
prismlauncher prismlauncher
jdk21
# znes2 # znes2
# nestopia-ue # nestopia-ue
# kega-fusion # kega-fusion
@ -360,6 +410,32 @@
# programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde; # programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde;
services = { services = {
# cgminer = {
# enable = true;
# pools = [ password = "21235365876986800"; url = "stratum+tcp://btc.f2pool.com:1314"; username = "consumer7918.001";]
# hardware = {
# gpu-engine = "0-985";
# gpu-fan = "0-85";
# gpu-memclock = 860;
# gpu-powertune = 20;
# intensity = 9;
# temp-cutoff = 95;
# temp-overheat = 85;
# temp-target = 75;
# };
# config = {
# auto-fan = true;
# auto-gpu = true;
# expiry = 120;
# failover-only = true;
# gpu-threads = 2;
# log = 5;
# queue = 1;
# scan-time = 60;
# temp-histeresys = 3;
# };
# };
# Firmware Updater? # Firmware Updater?
fwupd = { fwupd = {
enable = true; enable = true;
@ -392,7 +468,10 @@
enable = true; enable = true;
package = pkgs.usbmuxd2; package = pkgs.usbmuxd2;
}; };
boinc.enable = true;
boinc.allowRemoteGuiRpc = true;
boinc.extraEnvPackages = [pkgs.virtualbox pkgs.ocl-icd pkgs.linuxPackages.nvidia_x11 pkgs.libglvnd pkgs.brotli];
boinc.dataDir = "/var/lib/boinc";
}; };
## Docker ## Docker

View file

@ -4,6 +4,8 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
# Change main nix config location
{ {
nix = { nix = {
nixPath = [ nixPath = [