mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 17:32:26 +00:00
Add v4l2loopback
This commit is contained in:
@@ -38,6 +38,7 @@ in
|
|||||||
# containers
|
# containers
|
||||||
docker
|
docker
|
||||||
docker-compose
|
docker-compose
|
||||||
|
kubectl
|
||||||
podman
|
podman
|
||||||
|
|
||||||
# language servers
|
# language servers
|
||||||
@@ -98,7 +99,7 @@ in
|
|||||||
# video
|
# video
|
||||||
youtube-dl
|
youtube-dl
|
||||||
|
|
||||||
# network
|
# networking
|
||||||
arp-scan
|
arp-scan
|
||||||
bandwhich
|
bandwhich
|
||||||
dnsutils
|
dnsutils
|
||||||
@@ -214,6 +215,7 @@ in
|
|||||||
steam
|
steam
|
||||||
tailscale
|
tailscale
|
||||||
teams
|
teams
|
||||||
|
traceroute
|
||||||
wireshark-qt
|
wireshark-qt
|
||||||
zoom-us
|
zoom-us
|
||||||
netdata
|
netdata
|
||||||
|
36
flake.lock
generated
36
flake.lock
generated
@@ -58,11 +58,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643567433,
|
"lastModified": 1643579427,
|
||||||
"narHash": "sha256-tyFgodcZRlt0ZshbgyLf4m/Sd/ys9p0AHfeVZQ50WKU=",
|
"narHash": "sha256-tV4M4+Aqd/3ZjEz1Q07j89KIlkt1oFH34RzpBkUeO/0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "95d39e13a4a7a818c87f2701b59820d3ac0e674c",
|
"rev": "a52aed72c84a2a10102a92397339fa01fc0fe9cf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -78,11 +78,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1643591050,
|
"lastModified": 1643700928,
|
||||||
"narHash": "sha256-tymKSBi5/ITW6+/u1hKDpWPI0Qx1Ibhu/rhtcVul17c=",
|
"narHash": "sha256-CUkK0BY5HTwJjzluG/tkzgt91Zi84m4AT+dTYW+hTsc=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "2870311a37314135b73e0ee54b41da86c9540a39",
|
"rev": "a562b5771ea91becd0a469378ec852feaf50d2d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -99,11 +99,11 @@
|
|||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643616825,
|
"lastModified": 1643703228,
|
||||||
"narHash": "sha256-b25RjpLzUgD2nqWfbcAsm+ik9nHYtAM7XO18hHv7gns=",
|
"narHash": "sha256-nMUqkqTav6H9GFS/hut1QVTk0uecfpqH2OCbvG2fcyc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "19311b9ef8f8f8c71b2f41b59ec9e436646b667c",
|
"rev": "1c8ac6e3b1c73b305977b30afcd81d8b0fdc3b71",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -130,11 +130,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643347846,
|
"lastModified": 1643524588,
|
||||||
"narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=",
|
"narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41",
|
"rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -146,11 +146,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643347846,
|
"lastModified": 1643524588,
|
||||||
"narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=",
|
"narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41",
|
"rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -162,11 +162,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1643347846,
|
"lastModified": 1643524588,
|
||||||
"narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=",
|
"narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41",
|
"rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -135,7 +135,6 @@ vim.cmd([[autocmd BufWritePre *.nix lua vim.lsp.buf.formatting_sync()]])
|
|||||||
require("packer").startup(function()
|
require("packer").startup(function()
|
||||||
use({ "ms-jpq/coq_nvim", branch = "coq" }) -- main one
|
use({ "ms-jpq/coq_nvim", branch = "coq" }) -- main one
|
||||||
use({ "ms-jpq/coq.artifacts", branch = "artifacts" }) -- 9000+ Snippets
|
use({ "ms-jpq/coq.artifacts", branch = "artifacts" }) -- 9000+ Snippets
|
||||||
use({ "petertriho/nvim-scrollbar", branch = "main" })
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@@ -157,43 +156,6 @@ require'nvim-tree'.setup {}
|
|||||||
-- gitsigns
|
-- gitsigns
|
||||||
require('gitsigns').setup()
|
require('gitsigns').setup()
|
||||||
|
|
||||||
-- nvim-scrollbar
|
|
||||||
require("scrollbar").setup({
|
|
||||||
handle = {
|
|
||||||
text = " ",
|
|
||||||
color = "white",
|
|
||||||
},
|
|
||||||
marks = {
|
|
||||||
Search = { text = { "-", "=" }, priority = 0, color = "orange" },
|
|
||||||
Error = { text = { "-", "=" }, priority = 1, color = "red" },
|
|
||||||
Warn = { text = { "-", "=" }, priority = 2, color = "yellow" },
|
|
||||||
Info = { text = { "-", "=" }, priority = 3, color = "blue" },
|
|
||||||
Hint = { text = { "-", "=" }, priority = 4, color = "green" },
|
|
||||||
Misc = { text = { "-", "=" }, priority = 5, color = "purple" },
|
|
||||||
},
|
|
||||||
excluded_filetypes = {
|
|
||||||
"",
|
|
||||||
"prompt",
|
|
||||||
"TelescopePrompt",
|
|
||||||
},
|
|
||||||
autocmd = {
|
|
||||||
render = {
|
|
||||||
"BufWinEnter",
|
|
||||||
"TabEnter",
|
|
||||||
"TermEnter",
|
|
||||||
"WinEnter",
|
|
||||||
"CmdwinLeave",
|
|
||||||
"TextChanged",
|
|
||||||
"VimResized",
|
|
||||||
"WinScrolled",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
handlers = {
|
|
||||||
diagnostic = true,
|
|
||||||
search = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- treesitter
|
-- treesitter
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
ensure_installed = "all",
|
ensure_installed = "all",
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback.out ];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user