Compare commits

..

No commits in common. "9bfa21d6ea80da2516edccb4283e0089490f8844" and "ba837aaa1723bba1cecc8c4061c255d2fbf39bfa" have entirely different histories.

12 changed files with 36 additions and 61 deletions

View File

@ -6,7 +6,7 @@
}: }:
let let
inherit (config.grimmShared) enable gaming; inherit (config.grimmShared) enable gaming;
inherit (lib) mkIf getExe mkEnableOption optional; inherit (lib) mkIf getExe mkEnableOption;
in in
{ {
config = mkIf (enable && gaming) { config = mkIf (enable && gaming) {
@ -45,8 +45,6 @@ in
prismlauncher prismlauncher
mangohud mangohud
the-powder-toy the-powder-toy
factorio
pactorio
(symlinkJoin { (symlinkJoin {
name = "osu"; name = "osu";
paths = [ paths = [
@ -56,7 +54,7 @@ in
osu-lazer-bin osu-lazer-bin
]; ];
}) })
] ++ optional (factorio.passthru.updateScript != null) factorio; ];
}; };
options.grimmShared.gaming = mkEnableOption "enables steam, heroic, prism and gamemoded"; options.grimmShared.gaming = mkEnableOption "enables steam, heroic, prism and gamemoded";

View File

@ -14,7 +14,7 @@ in
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
font-awesome font-awesome
# noto-fonts-emoji # noto-fonts-emoji
noto-fonts-monochrome-emoji noto-fonts-monochrome-emoji
roboto roboto
liberation_ttf liberation_ttf

View File

@ -65,7 +65,7 @@ in
"sd_mod" "sd_mod"
]; ];
loader.systemd-boot.enable = true; loader.systemd-boot.enable = true;
# extraModulePackages = [ config.boot.kernelPackages.ddcci-driver ]; # extraModulePackages = [ config.boot.kernelPackages.ddcci-driver ];
kernelModules = [ kernelModules = [
"ddcci_backlight" "ddcci_backlight"
"i2c-dev" "i2c-dev"

View File

@ -47,13 +47,7 @@ in
push.autoSetupRemote = true; push.autoSetupRemote = true;
core.autocrlf = "input"; core.autocrlf = "input";
commit.gpgsign = true; commit.gpgsign = true;
core.excludesfile = (pkgs.writeText ".gitignore" '' pull.rebase = true;
.idea
.obsidian
*~
result
'');
pull.rebase = false;
include.path = "${pkgs.delta.src}/themes.gitconfig"; include.path = "${pkgs.delta.src}/themes.gitconfig";
core.pager = "delta"; core.pager = "delta";

View File

@ -35,15 +35,13 @@ in
programs.xonsh = { programs.xonsh = {
enable = true; enable = true;
config = config = ''
'' execx($(${getExe pkgs.starship} init xonsh))
execx($(${getExe pkgs.starship} init xonsh)) '' + concatLines (
'' mapAttrsToList (
+ concatLines ( name: value: "aliases[\"${name}\"] = '''${value}'''"
mapAttrsToList ( ) config.environment.shellAliases
name: value: "aliases[\"${name}\"] = '''${value}'''" );
) config.environment.shellAliases
);
# package = pkgs.xonsh.wrapper.override { extraPackages = pyLibs; }; # package = pkgs.xonsh.wrapper.override { extraPackages = pyLibs; };
}; };

View File

@ -25,7 +25,9 @@ in
] ]
++ optionals graphical [ jetbrains.clion ]; ++ optionals graphical [ jetbrains.clion ];
grimmShared.tooling.nvim.plugins = with pkgs.vimPlugins; [ rustaceanvim ]; grimmShared.tooling.nvim.plugins = with pkgs.vimPlugins; [
rustaceanvim
];
grimmShared.tooling.lang_servers = [ grimmShared.tooling.lang_servers = [
{ {

View File

@ -103,15 +103,11 @@ in
in in
{ {
hostPlatform = system; hostPlatform = system;
pkgs = pkgs = if (nixpkgs_patches != []) then (import (applyPatches {
if (nixpkgs_patches != [ ]) then name = "nixpkgs-patched";
(import (applyPatches { inherit src;
name = "nixpkgs-patched"; patches = map fetchpatch nixpkgs_patches;
inherit src; }) { inherit config; }) else unpatched;
patches = map fetchpatch nixpkgs_patches;
}) { inherit config; })
else
unpatched;
overlays = [ overlays = [
(import ( (import (

View File

@ -75,14 +75,11 @@ in
in in
{ {
enable = true; enable = true;
urlList = [ urlList = [ "ldap:///" "ldapi:///" ];
"ldap:///"
"ldapi:///"
];
# declarativeContents = { # declarativeContents = {
# "${localDc}" = import ./ldapConf.nix { inherit localDc; }; # "${localDc}" = import ./ldapConf.nix { inherit localDc; };
# }; # };
settings = { settings = {
attrs = { attrs = {
@ -108,7 +105,7 @@ in
olcSuffix = localDc; olcSuffix = localDc;
olcRootDN = "cn=admin,${localDc}"; olcRootDN = "cn=admin,${localDc}";
# olcRootPW.path = config.age.secrets.openldap_admin.path; # olcRootPW.path = config.age.secrets.openldap_admin.path;
olcRootPW = "{SSHA}D1U1E6Xz07DGYLjke1YcCsVF6ddSLyLr"; olcRootPW = "{SSHA}D1U1E6Xz07DGYLjke1YcCsVF6ddSLyLr";
olcAccess = [ olcAccess = [

View File

@ -29,10 +29,10 @@
"homepage": "https://nyx.chaotic.cx", "homepage": "https://nyx.chaotic.cx",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "a6f43e450d97eece8757e6cb6136f4cd4f141a3b", "rev": "fef678d1e1dbefdfbbf72eb6ef28b534af0bc403",
"sha256": "1l38vn7hahnl5x0m8kk4x1rqiig1divhja8cs9iqq466h7q1prdv", "sha256": "0sic6ick1pc7xicyyjwfbcgc0lynd1kc2plffxa9iskcl6czpw61",
"type": "tarball", "type": "tarball",
"url": "https://github.com/chaotic-cx/nyx/archive/a6f43e450d97eece8757e6cb6136f4cd4f141a3b.tar.gz", "url": "https://github.com/chaotic-cx/nyx/archive/fef678d1e1dbefdfbbf72eb6ef28b534af0bc403.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"glibc-eac": { "glibc-eac": {
@ -50,13 +50,13 @@
"lix-module": { "lix-module": {
"branch": "main", "branch": "main",
"repo": "https://git.lix.systems/lix-project/nixos-module.git", "repo": "https://git.lix.systems/lix-project/nixos-module.git",
"rev": "38f31ee7c1a60adae58833789dd855c128b056c6", "rev": "18fa4a89e208cb8e881f5f71c75bbd4c1c2fd37d",
"type": "git" "type": "git"
}, },
"lix-pkg": { "lix-pkg": {
"branch": "main", "branch": "main",
"repo": "https://git.lix.systems/lix-project/lix.git", "repo": "https://git.lix.systems/lix-project/lix.git",
"rev": "71b32bb87cd48dbbd672c8ca6b041ed36f3bae11", "rev": "dd53bce476805b41f2e9858e64e38574a88db77f",
"type": "git" "type": "git"
}, },
"nixos-mailserver": { "nixos-mailserver": {

View File

@ -31,6 +31,5 @@
./confwhich.nix ./confwhich.nix
./rfindup.nix ./rfindup.nix
./glibc-eac.nix ./glibc-eac.nix
./factorio.nix
]; ];
} }

View File

@ -1,9 +0,0 @@
{ lib, prev, ... }:
let
loginFile = ./factorioLogin.nix;
in
{
factorio = prev.factorio.override (
{ } // lib.optionalAttrs (builtins.pathExists loginFile) (import loginFile)
);
}

View File

@ -1,12 +1,12 @@
{ prev, ... }: { prev, ... }: let
let
nivSources = import ../nix/sources.nix; nivSources = import ../nix/sources.nix;
glibc_patches = [ "rogue_company_reverts.patch" ]; glibc_patches = [
"rogue_company_reverts.patch"
];
in in
{ {
glibc-eac = prev.glibc.overrideAttrs (old: { glibc-eac = prev.glibc.overrideAttrs(old: {
patches = patches = (
(
let let
oldPatches = old.patches or [ ]; oldPatches = old.patches or [ ];
in in