1
0
Fork 0

Merge branch 'main' of 100.103.137.42:paul/NixOS

this is ugly
This commit is contained in:
phartman 2025-01-14 17:19:32 -06:00
commit adc8d2a34c
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!!!
nixpkgs.config.permittedInsecurePackages = [

View file

@ -18,7 +18,50 @@
"/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"];
# Enable experimental Feature
nix.settings.experimental-features = ["nix-command" "flakes"];
@ -247,6 +290,8 @@
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
## Printer Drivers
cpuminer
# electrum-ltc
brlaser
## CLI Utils
tmux
@ -255,9 +300,11 @@
micro
gitFull
glxinfo
boinc
# boinc
boinctui
htop
btop
# cgminer
#oraclejre
temurin-jre-bin-17
pciutils
@ -276,15 +323,17 @@
vscode-fhs
yakuake
bitwarden
libsForQt5.kdeconnect-kde
# libsForQt5.kdeconnect-kde
kdePackages.kdeconnect-kde
# k3b
libation
rubyripper
remmina
virt-viewer
transmission_4-qt6
calibre
# calibre
chirp #Currently failing build date=240827
# litecoin
# Chat/Internet
#fluffychat
@ -330,6 +379,7 @@
## Games
# minecraft
prismlauncher
jdk21
# znes2
# nestopia-ue
# kega-fusion
@ -360,6 +410,32 @@
# programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde;
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?
fwupd = {
enable = true;
@ -392,7 +468,10 @@
enable = true;
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

View file

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