this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Moar nixos!

+72 -2
+10
.config/home-manager/home.nix
··· 1 1 { config, pkgs, lib, ... }: 2 2 3 + let 4 + unstable = import <nixos-unstable> {}; 5 + in 6 + 3 7 { 4 8 programs = { 5 9 # Let Home Manager install and manage itself. ··· 29 33 30 34 syncthing.enable = true; 31 35 }; 36 + 37 + nixpkgs.overlays = [ 38 + (import (builtins.fetchTarball { 39 + url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz; 40 + })) 41 + ]; 32 42 33 43 home.packages = with pkgs; [ 34 44 docker-compose
+45
.config/nixos/prismo/applesmc-next.nix
··· 1 + { stdenv, lib, fetchFromGitHub, kernel, kmod }: 2 + let 3 + src = 4 + fetchFromGitHub { 5 + owner = "c---"; 6 + repo = "applesmc-next"; 7 + rev = "${version}"; 8 + sha256 = "sha256-Kh34suuoCLSBZH64EzqgIMJHjRVowmL94MEhHgx4GNg="; 9 + }; 10 + 11 + version = "0.1.5"; 12 + 13 + hardeningDisable = [ "pic" ]; 14 + nativeBuildInputs = kernel.moduleBuildDependencies; 15 + 16 + makeFlags = [ 17 + "KVER=${kernel.modDirVersion}" 18 + "KBUILD_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 19 + ]; 20 + 21 + meta = with lib; { 22 + description = "Patches to Linux kernel to allow setting battery charge thresholds on Apple devices."; 23 + homepage = "https://github.com/c---/applesmc-next"; 24 + license = licenses.gpl2; 25 + maintainers = []; 26 + platforms = platforms.linux; 27 + }; 28 + in 29 + { 30 + applesmc = 31 + stdenv.mkDerivation rec { 32 + inherit src version hardeningDisable nativeBuildInputs makeFlags meta; 33 + 34 + name = "applesmc-${version}-${kernel.version}"; 35 + installPhase = "mv applesmc/applesmc.ko $out"; 36 + }; 37 + 38 + sbs = 39 + stdenv.mkDerivation rec { 40 + inherit src version hardeningDisable nativeBuildInputs makeFlags meta; 41 + 42 + name = "sbs-${version}-${kernel.version}"; 43 + installPhase = "mv sbs/sbs.ko $out"; 44 + }; 45 + }
+17 -2
.config/nixos/prismo/configuration.nix
··· 35 35 }; 36 36 37 37 # Open ports in the firewall. 38 + # NOTE: Docker can override this with iptables... 39 + # https://github.com/NixOS/nixpkgs/issues/111852 38 40 networking.firewall.allowedTCPPorts = [ 39 - 8200 # Deluge web interface 41 + # pihole web interface 42 + 80 43 + 443 44 + 45 + # Deluge web interface 46 + 8112 40 47 41 48 # Plex media server 42 49 32400 ··· 47 54 # SMB share 48 55 139 49 56 445 57 + 58 + # Syncthing 59 + 8384 60 + 22000 50 61 ]; 51 62 networking.firewall.allowedUDPPorts = [ 52 63 # UPnP ··· 61 72 32412 62 73 32413 63 74 32414 64 - ]; 75 + 76 + # Syncthing discovery 77 + 21027 78 + ]; 65 79 66 80 67 81 # ========================================================================== ··· 145 159 lm_sensors 146 160 nixos-option 147 161 powertop 162 + tlp 148 163 vim 149 164 wget 150 165 ];