Compare commits
9 commits
9494fd52d0
...
dbc11f1b22
Author | SHA1 | Date | |
---|---|---|---|
dbc11f1b22 | |||
63c31238fe | |||
8a063f1088 | |||
7ce4f5b246 | |||
06063203bc | |||
0793b93a0a | |||
4902661b78 | |||
2eadea3351 | |||
2755b55e4b |
9 changed files with 35 additions and 9 deletions
|
@ -242,6 +242,7 @@
|
||||||
nix-prefetch-github
|
nix-prefetch-github
|
||||||
nix-prefetch-docker
|
nix-prefetch-docker
|
||||||
nix-top
|
nix-top
|
||||||
|
nix-tree
|
||||||
taplo
|
taplo
|
||||||
just
|
just
|
||||||
pciutils
|
pciutils
|
||||||
|
|
|
@ -1102,6 +1102,8 @@ Automatically use the =<lang>-ts-mode= when it is available
|
||||||
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
`((elixir-mode elixir-ts-mode heex-ts-mode) . ,(eglot-alternatives '(("nextls" "--stdio") "elixir-ls"))))
|
`((elixir-mode elixir-ts-mode heex-ts-mode) . ,(eglot-alternatives '(("nextls" "--stdio") "elixir-ls"))))
|
||||||
|
(add-to-list 'eglot-server-programs
|
||||||
|
'(dhall-mode . ("dhall-lsp-server")))
|
||||||
(add-to-list 'eglot-stay-out-of 'flymake)
|
(add-to-list 'eglot-stay-out-of 'flymake)
|
||||||
(setq eglot-autoshutdown t
|
(setq eglot-autoshutdown t
|
||||||
eldoc-echo-area-use-multiline-p 0.1)
|
eldoc-echo-area-use-multiline-p 0.1)
|
||||||
|
|
|
@ -17,11 +17,12 @@ rec {
|
||||||
{
|
{
|
||||||
overlays = [
|
overlays = [
|
||||||
self.overlays.default
|
self.overlays.default
|
||||||
inputs.ha-now-playing.overlays.${system}
|
inputs.attic.overlays.default
|
||||||
inputs.pamedia.overlays.${system}
|
|
||||||
inputs.emacs-overlay.overlay
|
inputs.emacs-overlay.overlay
|
||||||
inputs.nil.overlays.default
|
|
||||||
inputs.eww.overlays.default
|
inputs.eww.overlays.default
|
||||||
|
inputs.ha-now-playing.overlays.${system}
|
||||||
|
inputs.nil.overlays.default
|
||||||
|
inputs.pamedia.overlays.${system}
|
||||||
inputs.rust-overlay.overlays.default
|
inputs.rust-overlay.overlays.default
|
||||||
] ++ nixpkgs.lib.optional (system == "aarch64-linux")
|
] ++ nixpkgs.lib.optional (system == "aarch64-linux")
|
||||||
(_final: super: {
|
(_final: super: {
|
||||||
|
|
|
@ -71,6 +71,15 @@ inputs: {
|
||||||
tags = [ "container" ];
|
tags = [ "container" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nix-cache = {
|
||||||
|
config = import ./nix-cache/configuration.nix inputs;
|
||||||
|
deploy = {
|
||||||
|
# host = "10.0.0.209";
|
||||||
|
host = "nix-cache.barn-beaver.ts.net";
|
||||||
|
targetUser = "erwin";
|
||||||
|
tags = [ "container" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
odin = {
|
odin = {
|
||||||
config = import ./odin/configuration.nix inputs;
|
config = import ./odin/configuration.nix inputs;
|
||||||
deploy = {
|
deploy = {
|
||||||
|
|
|
@ -62,6 +62,11 @@
|
||||||
# kernelParams = [ "intel_iommu=on" "i915.enable_gvt=1" "cpufreq.default_governor=ondemand" ];
|
# kernelParams = [ "intel_iommu=on" "i915.enable_gvt=1" "cpufreq.default_governor=ondemand" ];
|
||||||
|
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ gasket ];
|
extraModulePackages = with config.boot.kernelPackages; [ gasket ];
|
||||||
|
|
||||||
|
kernel.sysctl = {
|
||||||
|
"net.core.rmem_max" = 2500000;
|
||||||
|
"net.core.wmem_max" = 2500000;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
networkmanager.enable = false;
|
networkmanager.enable = false;
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
|
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPorts = [ 8443 ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|
|
@ -29,9 +29,6 @@ in
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixVersions.unstable;
|
package = pkgs.nixVersions.unstable;
|
||||||
extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildMachines = mkIf cfg.remote-builders [
|
buildMachines = mkIf cfg.remote-builders [
|
||||||
{
|
{
|
||||||
|
@ -52,12 +49,19 @@ in
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://marcus7070.cachix.org"
|
"https://marcus7070.cachix.org"
|
||||||
"https://devenv.cachix.org"
|
"https://devenv.cachix.org"
|
||||||
|
"https://elixir-tools.cachix.org"
|
||||||
];
|
];
|
||||||
|
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"marcus7070.cachix.org-1:JawxHSgnYsgNYJmNqZwvLjI4NcOwrcEZDToWlT3WwXw="
|
"marcus7070.cachix.org-1:JawxHSgnYsgNYJmNqZwvLjI4NcOwrcEZDToWlT3WwXw="
|
||||||
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
||||||
|
"elixir-tools.cachix.org-1:GfK9E139Ysi+YWeS1oNN9OaTfQjqpLwlBaz+/73tBjU="
|
||||||
|
];
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
"auto-allocate-uids"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -113,9 +113,9 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
input = {
|
input = {
|
||||||
"36125:40349:splitKB_Kyria" = {
|
"36125:40349:splitkb.com_Kyria_rev1" = {
|
||||||
xkb_layout = "us";
|
xkb_layout = "us";
|
||||||
xkb_options = "lv3:ralt_switch,eurosign:5";
|
xkb_options = "lv3:ralt_switch_multikey,eurosign:5";
|
||||||
};
|
};
|
||||||
"1133:49291:Logitech_G502_HERO_SE" = {
|
"1133:49291:Logitech_G502_HERO_SE" = {
|
||||||
natural_scroll = "enabled";
|
natural_scroll = "enabled";
|
||||||
|
@ -182,7 +182,6 @@ in
|
||||||
kicad
|
kicad
|
||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
larynx
|
|
||||||
libnotify
|
libnotify
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
minio-client
|
minio-client
|
||||||
|
|
|
@ -12,6 +12,7 @@ in
|
||||||
|
|
||||||
eboskma = {
|
eboskma = {
|
||||||
programs = {
|
programs = {
|
||||||
|
atuin.enable = true;
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
git = {
|
git = {
|
||||||
|
|
Loading…
Reference in a new issue