Sysctl.d again

This commit is contained in:
xmm16 2024-12-14 03:11:04 -03:00
commit 61b35e21d7
No known key found for this signature in database
5 changed files with 6 additions and 51 deletions

45
flake.lock generated
View file

@ -234,24 +234,6 @@
"type": "github" "type": "github"
} }
}, },
"musnix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1734127670,
"narHash": "sha256-KvxxKzFJ72GFHcdhp3LnwmGwW3dCVbmva9aV9CpYYJw=",
"owner": "musnix",
"repo": "musnix",
"rev": "086617cfa6934bd7c8f56a1b795b5e85659e5179",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": ["painless-neovim", "nvf", "rnix-lsp", "nixpkgs"] "nixpkgs": ["painless-neovim", "nvf", "rnix-lsp", "nixpkgs"]
@ -370,22 +352,6 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1732837521,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1733940404, "lastModified": 1733940404,
"narHash": "sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g=", "narHash": "sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g=",
@ -401,7 +367,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1733024928, "lastModified": 1733024928,
"narHash": "sha256-n/DOfpKH1vkukuBnach91QBQId2dr5tkE7/7UrkV2zw=", "narHash": "sha256-n/DOfpKH1vkukuBnach91QBQId2dr5tkE7/7UrkV2zw=",
@ -417,7 +383,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1656753965, "lastModified": 1656753965,
"narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=", "narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=",
@ -455,7 +421,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"mnw": "mnw", "mnw": "mnw",
"nil": "nil", "nil": "nil",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_3",
"nmd": "nmd", "nmd": "nmd",
"plugin-alpha-nvim": "plugin-alpha-nvim", "plugin-alpha-nvim": "plugin-alpha-nvim",
"plugin-base16": "plugin-base16", "plugin-base16": "plugin-base16",
@ -2511,7 +2477,7 @@
"rnix-lsp": { "rnix-lsp": {
"inputs": { "inputs": {
"naersk": "naersk", "naersk": "naersk",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_4",
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
@ -2534,8 +2500,7 @@
"disko": "disko", "disko": "disko",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"git-hooks-nix": "git-hooks-nix", "git-hooks-nix": "git-hooks-nix",
"musnix": "musnix", "nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"painless-neovim": "painless-neovim", "painless-neovim": "painless-neovim",
"pankomacs": "pankomacs", "pankomacs": "pankomacs",
"rosepine-qutebrowser": "rosepine-qutebrowser", "rosepine-qutebrowser": "rosepine-qutebrowser",

View file

@ -13,11 +13,6 @@
repo = "nyx"; repo = "nyx";
ref = "nyxpkgs-unstable"; ref = "nyxpkgs-unstable";
}; };
musnix = {
type = "github";
owner = "musnix";
repo = "musnix";
};
flake-parts = { flake-parts = {
type = "github"; type = "github";
owner = "hercules-ci"; owner = "hercules-ci";

View file

@ -16,7 +16,6 @@
extraModules = [ extraModules = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.chaotic.nixosModules.default inputs.chaotic.nixosModules.default
inputs.musnix.nixosModules.musnix
]; ];
}; };
}; };

View file

@ -9,6 +9,7 @@
bbr''; bbr'';
"vm.page-cluster" = 1; "vm.page-cluster" = 1;
"kernel.nmi_watchdog" = 0; "kernel.nmi_watchdog" = 0;
"vm.swappiness" = 200;
"vm.max_map_count" = 2147483642; "vm.max_map_count" = 2147483642;
"vm.watermark_boost_factor" = 1; "vm.watermark_boost_factor" = 1;
"vm.watermark_scale_factor" = 1000; "vm.watermark_scale_factor" = 1000;

View file

@ -1,9 +1,4 @@
{...}: { {...}: {
musnix = {
enable = true;
soundcardPciId = "04:00.6";
};
services.pipewire = { services.pipewire = {
enable = true; enable = true;
wireplumber = { wireplumber = {