update some tooling
This commit is contained in:
parent
21a081e2a5
commit
62e7db65e4
11 changed files with 72 additions and 18 deletions
|
@ -14,9 +14,11 @@ 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
|
||||||
roboto
|
roboto
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
|
nerdfonts
|
||||||
];
|
];
|
||||||
|
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -98,6 +98,11 @@ in
|
||||||
askPassword = mkIf graphical (getExe pkgs.lxqt.lxqt-openssh-askpass);
|
askPassword = mkIf graphical (getExe pkgs.lxqt.lxqt-openssh-askpass);
|
||||||
};
|
};
|
||||||
programs.thefuck.enable = true;
|
programs.thefuck.enable = true;
|
||||||
|
|
||||||
|
programs.starship.enable = true;
|
||||||
|
programs.bash.shellInit = ''
|
||||||
|
eval "$(starship init bash)"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
options.grimmShared.tooling = {
|
options.grimmShared.tooling = {
|
||||||
|
|
|
@ -14,6 +14,7 @@ let
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
pygobject3
|
pygobject3
|
||||||
|
pandas
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
|
@ -22,6 +23,7 @@ let
|
||||||
mkOption
|
mkOption
|
||||||
mapAttrsToList
|
mapAttrsToList
|
||||||
concatLines
|
concatLines
|
||||||
|
getExe
|
||||||
elem
|
elem
|
||||||
;
|
;
|
||||||
in
|
in
|
||||||
|
@ -33,7 +35,9 @@ in
|
||||||
|
|
||||||
programs.xonsh = {
|
programs.xonsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = concatLines (
|
config = ''
|
||||||
|
execx($(${getExe pkgs.starship} init xonsh))
|
||||||
|
'' + concatLines (
|
||||||
mapAttrsToList (
|
mapAttrsToList (
|
||||||
name: value: "aliases[\"${name}\"] = '''${value}'''"
|
name: value: "aliases[\"${name}\"] = '''${value}'''"
|
||||||
) config.environment.shellAliases
|
) config.environment.shellAliases
|
||||||
|
|
|
@ -25,10 +25,15 @@ in
|
||||||
]
|
]
|
||||||
++ optionals graphical [ jetbrains.clion ];
|
++ optionals graphical [ jetbrains.clion ];
|
||||||
|
|
||||||
|
grimmShared.tooling.nvim.plugins = with pkgs.vimPlugins; [
|
||||||
|
rustaceanvim
|
||||||
|
];
|
||||||
|
|
||||||
grimmShared.tooling.lang_servers = [
|
grimmShared.tooling.lang_servers = [
|
||||||
{
|
{
|
||||||
lsp = {
|
lsp = {
|
||||||
package = pkgs.rust-analyzer;
|
package = pkgs.rust-analyzer;
|
||||||
|
vimIntegration = false;
|
||||||
};
|
};
|
||||||
fmt = {
|
fmt = {
|
||||||
package = pkgs.rustfmt;
|
package = pkgs.rustfmt;
|
||||||
|
|
|
@ -21,6 +21,13 @@ in
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
security.pam.yubico = {
|
||||||
|
# enable = true;
|
||||||
|
debug = true;
|
||||||
|
mode = "challenge-response";
|
||||||
|
control = "sufficient";
|
||||||
|
};
|
||||||
|
|
||||||
security.doas.enable = true;
|
security.doas.enable = true;
|
||||||
security.sudo.enable = false;
|
security.sudo.enable = false;
|
||||||
security.doas.extraRules = [
|
security.doas.extraRules = [
|
||||||
|
|
|
@ -103,11 +103,11 @@ in
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
hostPlatform = system;
|
hostPlatform = system;
|
||||||
pkgs = import (applyPatches {
|
pkgs = if (nixpkgs_patches != []) then (import (applyPatches {
|
||||||
name = "nixpkgs-patched";
|
name = "nixpkgs-patched";
|
||||||
inherit src;
|
inherit src;
|
||||||
patches = map fetchpatch nixpkgs_patches;
|
patches = map fetchpatch nixpkgs_patches;
|
||||||
}) { inherit config; };
|
}) { inherit config; }) else unpatched;
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
(import (
|
(import (
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
"homepage": "https://matrix.to/#/#agenix:nixos.org",
|
"homepage": "https://matrix.to/#/#agenix:nixos.org",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "8d37c5bdeade12b6479c85acd133063ab53187a0",
|
"rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9",
|
||||||
"sha256": "0z26jj4pwliz6v5fdgnwc5fsihjdsy2gz49fcivr4p4178fw4gnr",
|
"sha256": "1lpkwinlax40b7xgzspbkm9rsi4a1x48hxhixnni4irxxwnav0ah",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/ryantm/agenix/archive/8d37c5bdeade12b6479c85acd133063ab53187a0.tar.gz",
|
"url": "https://github.com/ryantm/agenix/archive/c2fc0762bbe8feb06a2e59a364fa81b3a57671c9.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"authentik-nix": {
|
"authentik-nix": {
|
||||||
|
@ -29,22 +29,34 @@
|
||||||
"homepage": "https://nyx.chaotic.cx",
|
"homepage": "https://nyx.chaotic.cx",
|
||||||
"owner": "chaotic-cx",
|
"owner": "chaotic-cx",
|
||||||
"repo": "nyx",
|
"repo": "nyx",
|
||||||
"rev": "5b1f4d9d757db78bc0fdf3e3bd0b161d46d6bc5d",
|
"rev": "f3685d816317958caf2bce128f80d02fee65b163",
|
||||||
"sha256": "0qsya33g1my8xcvd1a6l1nsmcgnam0wknfrpmvfl39c1jmj7rgzv",
|
"sha256": "1nklhkwfsyxilyzls6rw2cw9sdhlni5jnq4llj1m2w2ggw83d0wv",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/chaotic-cx/nyx/archive/5b1f4d9d757db78bc0fdf3e3bd0b161d46d6bc5d.tar.gz",
|
"url": "https://github.com/chaotic-cx/nyx/archive/f3685d816317958caf2bce128f80d02fee65b163.tar.gz",
|
||||||
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
|
},
|
||||||
|
"glibc-eac": {
|
||||||
|
"branch": "main",
|
||||||
|
"description": "Arch glibc with the commit breaking eos-eac reverted - https://github.com/archlinux/svntogit-packages/tree/4da6c3e804e21c39908aa8a3cb597f19e6d764ef/trunk",
|
||||||
|
"homepage": "",
|
||||||
|
"owner": "Frogging-Family",
|
||||||
|
"repo": "glibc-eac",
|
||||||
|
"rev": "6a2ddcacfa9a16a2b33e3a70cd73e0f7937b8b94",
|
||||||
|
"sha256": "0p1b3a7ynbg63vl0lrqzf6w19grbxi4dmqch07p1fll7xhvl80km",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://github.com/Frogging-Family/glibc-eac/archive/6a2ddcacfa9a16a2b33e3a70cd73e0f7937b8b94.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"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": "53d713eb486f21d653af3ef3528e9a19ecfc45e5",
|
"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": "005ee33a9a145f714f4837b1c0b5c430ac3bc588",
|
"rev": "2b397c66297bab65c2b5719367a414f9a2efb7e7",
|
||||||
"type": "git"
|
"type": "git"
|
||||||
},
|
},
|
||||||
"nixos-mailserver": {
|
"nixos-mailserver": {
|
||||||
|
@ -66,15 +78,15 @@
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"branch": "nixos-unstable-small",
|
"branch": "nixos-unstable",
|
||||||
"description": "Nix Packages collection",
|
"description": "Nix Packages collection",
|
||||||
"homepage": null,
|
"homepage": null,
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "22b25d36f84f5449e2799af1def209278ef75147",
|
"rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2",
|
||||||
"sha256": "14a1ym1bml6n4lnxhxgsk6dvdn5c8ivhl1xl5v2l6awcw9q2vf0g",
|
"sha256": "1rai87jwpfly0bpkhiaq56n3rvzhb15h72n61s42q1mpnw3vf4zh",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/22b25d36f84f5449e2799af1def209278ef75147.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/5710852ba686cc1fd0d3b8e22b3117d43ba374c2.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,5 +30,6 @@
|
||||||
./searchclip.nix
|
./searchclip.nix
|
||||||
./confwhich.nix
|
./confwhich.nix
|
||||||
./rfindup.nix
|
./rfindup.nix
|
||||||
|
./glibc-eac.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
18
overlays/glibc-eac.nix
Normal file
18
overlays/glibc-eac.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ prev, ... }: let
|
||||||
|
nivSources = import ../nix/sources.nix;
|
||||||
|
glibc_patches = [
|
||||||
|
"rogue_company_reverts.patch"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
glibc-eac = prev.glibc.overrideAttrs(old: {
|
||||||
|
patches = (
|
||||||
|
let
|
||||||
|
oldPatches = old.patches or [ ];
|
||||||
|
in
|
||||||
|
if oldPatches == null then [ ] else oldPatches
|
||||||
|
)
|
||||||
|
++ (map (p: "${nivSources.glibc-eac}/${p}") glibc_patches);
|
||||||
|
doCheck = false;
|
||||||
|
});
|
||||||
|
}
|
|
@ -43,7 +43,7 @@
|
||||||
obs-studio
|
obs-studio
|
||||||
element-desktop
|
element-desktop
|
||||||
ghidra
|
ghidra
|
||||||
# rmview
|
rmview
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue