feat: Removed alvr and added sudo for nix-darwin

This commit is contained in:
uttarayan21
2025-05-26 16:00:53 +05:30
parent c6d2b6d5e6
commit f3e971e290
5 changed files with 86 additions and 165 deletions

215
flake.lock generated
View File

@@ -80,36 +80,13 @@
"type": "github" "type": "github"
} }
}, },
"alvr": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1747930387,
"narHash": "sha256-3xot4vNRTHrYuE3ffbYwY3EozYeYkBgF2Gga19k1J/o=",
"ref": "nixos_debug",
"rev": "29eca663b644bcea6e7d8da0c91a32dda9fe79e9",
"revCount": 3211,
"submodules": true,
"type": "git",
"url": "https://github.com/uttarayan21/alvr.git"
},
"original": {
"ref": "nixos_debug",
"type": "git",
"url": "https://github.com/uttarayan21/alvr.git"
}
},
"anyrun": { "anyrun": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_2" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1735828456, "lastModified": 1735828456,
@@ -129,7 +106,7 @@
"inputs": { "inputs": {
"advisory-db": "advisory-db", "advisory-db": "advisory-db",
"crane": "crane", "crane": "crane",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils",
"nix-github-actions": "nix-github-actions", "nix-github-actions": "nix-github-actions",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -315,7 +292,7 @@
"crane_5": { "crane_5": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_6",
"flake-utils": "flake-utils_7", "flake-utils": "flake-utils_6",
"nixpkgs": [ "nixpkgs": [
"music-player", "music-player",
"nixpkgs" "nixpkgs"
@@ -417,7 +394,7 @@
"inputs": { "inputs": {
"advisory-db": "advisory-db_2", "advisory-db": "advisory-db_2",
"crane": "crane_2", "crane": "crane_2",
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_3",
"nix-github-actions": "nix-github-actions_2", "nix-github-actions": "nix-github-actions_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -775,7 +752,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -792,15 +769,12 @@
} }
}, },
"flake-utils_10": { "flake-utils_10": {
"inputs": {
"systems": "systems_15"
},
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1644229661,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -825,23 +799,8 @@
} }
}, },
"flake-utils_12": { "flake-utils_12": {
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_13": {
"inputs": { "inputs": {
"systems": "systems_16" "systems": "systems_15"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@@ -857,9 +816,9 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_14": { "flake-utils_13": {
"inputs": { "inputs": {
"systems": "systems_17" "systems": "systems_16"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -875,9 +834,9 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_15": { "flake-utils_14": {
"inputs": { "inputs": {
"systems": "systems_18" "systems": "systems_17"
}, },
"locked": { "locked": {
"lastModified": 1726560853, "lastModified": 1726560853,
@@ -893,9 +852,9 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_16": { "flake-utils_15": {
"inputs": { "inputs": {
"systems": "systems_19" "systems": "systems_18"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -915,24 +874,6 @@
"inputs": { "inputs": {
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_4"
},
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
@@ -947,9 +888,27 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_4": { "flake-utils_4": {
"inputs": { "inputs": {
"systems": "systems_5" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -985,14 +944,14 @@
}, },
"flake-utils_6": { "flake-utils_6": {
"inputs": { "inputs": {
"systems": "systems_8" "systems": "systems_10"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1685518550,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1024,11 +983,11 @@
"systems": "systems_12" "systems": "systems_12"
}, },
"locked": { "locked": {
"lastModified": 1685518550, "lastModified": 1731533236,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1039,7 +998,7 @@
}, },
"flake-utils_9": { "flake-utils_9": {
"inputs": { "inputs": {
"systems": "systems_13" "systems": "systems_14"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -1058,7 +1017,7 @@
"ghostty": { "ghostty": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_5",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"zig": "zig", "zig": "zig",
@@ -1275,7 +1234,7 @@
"nixpkgs" "nixpkgs"
], ],
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_9", "systems": "systems_8",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
@@ -1452,7 +1411,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_10" "systems": "systems_9"
}, },
"locked": { "locked": {
"lastModified": 1746809694, "lastModified": 1746809694,
@@ -1651,7 +1610,7 @@
"advisory-db": "advisory-db_3", "advisory-db": "advisory-db_3",
"crane": "crane_5", "crane": "crane_5",
"fenix": "fenix", "fenix": "fenix",
"flake-utils": "flake-utils_8", "flake-utils": "flake-utils_7",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@@ -2111,7 +2070,7 @@
"nixpkgs" "nixpkgs"
], ],
"nuschtosSearch": "nuschtosSearch", "nuschtosSearch": "nuschtosSearch",
"systems": "systems_14" "systems": "systems_13"
}, },
"locked": { "locked": {
"lastModified": 1747449013, "lastModified": 1747449013,
@@ -2129,7 +2088,7 @@
}, },
"nno": { "nno": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_10", "flake-utils": "flake-utils_9",
"neorg": "neorg", "neorg": "neorg",
"neorg-telescope": "neorg-telescope", "neorg-telescope": "neorg-telescope",
"nixpkgs": [ "nixpkgs": [
@@ -2155,7 +2114,7 @@
"norg": { "norg": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_7", "flake-compat": "flake-compat_7",
"flake-utils": "flake-utils_11", "flake-utils": "flake-utils_10",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
@@ -2176,7 +2135,7 @@
"norg-meta": { "norg-meta": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_8", "flake-compat": "flake-compat_8",
"flake-utils": "flake-utils_12", "flake-utils": "flake-utils_11",
"nixpkgs": "nixpkgs_6" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
@@ -2215,7 +2174,7 @@
}, },
"nuschtosSearch": { "nuschtosSearch": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_9", "flake-utils": "flake-utils_8",
"ixx": "ixx", "ixx": "ixx",
"nixpkgs": [ "nixpkgs": [
"nixvim", "nixvim",
@@ -2238,7 +2197,7 @@
}, },
"onepassword-shell-plugins": { "onepassword-shell-plugins": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_13", "flake-utils": "flake-utils_12",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@@ -2356,7 +2315,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"alvr": "alvr",
"anyrun": "anyrun", "anyrun": "anyrun",
"anyrun-hyprwin": "anyrun-hyprwin", "anyrun-hyprwin": "anyrun-hyprwin",
"anyrun-nixos-options": "anyrun-nixos-options", "anyrun-nixos-options": "anyrun-nixos-options",
@@ -2367,7 +2325,7 @@
"ddcbacklight": "ddcbacklight", "ddcbacklight": "ddcbacklight",
"deploy-rs": "deploy-rs", "deploy-rs": "deploy-rs",
"disko": "disko", "disko": "disko",
"flake-utils": "flake-utils_5", "flake-utils": "flake-utils_4",
"ghostty": "ghostty", "ghostty": "ghostty",
"guihua": "guihua", "guihua": "guihua",
"home-manager": "home-manager", "home-manager": "home-manager",
@@ -2448,7 +2406,7 @@
}, },
"rust-overlay_2": { "rust-overlay_2": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
@@ -2638,21 +2596,6 @@
} }
}, },
"systems": { "systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_10": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@@ -2667,6 +2610,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_10": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_11": { "systems_11": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@@ -2787,7 +2745,7 @@
"type": "github" "type": "github"
} }
}, },
"systems_19": { "systems_2": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -2802,21 +2760,6 @@
"type": "github" "type": "github"
} }
}, },
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_3": { "systems_3": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@@ -2894,16 +2837,16 @@
}, },
"systems_8": { "systems_8": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1689347949,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"type": "github" "type": "github"
} }
}, },
@@ -2926,7 +2869,7 @@
"inputs": { "inputs": {
"advisory-db": "advisory-db_4", "advisory-db": "advisory-db_4",
"crane": "crane_6", "crane": "crane_6",
"flake-utils": "flake-utils_14", "flake-utils": "flake-utils_13",
"nix-github-actions": "nix-github-actions_3", "nix-github-actions": "nix-github-actions_3",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -3050,7 +2993,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems_6" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1701680307, "lastModified": 1701680307,
@@ -3127,7 +3070,7 @@
"inputs": { "inputs": {
"advisory-db": "advisory-db_5", "advisory-db": "advisory-db_5",
"crane": "crane_7", "crane": "crane_7",
"flake-utils": "flake-utils_15", "flake-utils": "flake-utils_14",
"nix-github-actions": "nix-github-actions_4", "nix-github-actions": "nix-github-actions_4",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -3179,7 +3122,7 @@
"zjstatus": { "zjstatus": {
"inputs": { "inputs": {
"crane": "crane_8", "crane": "crane_8",
"flake-utils": "flake-utils_16", "flake-utils": "flake-utils_15",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],

View File

@@ -163,10 +163,10 @@
url = "github:uttarayan21/zeronsd"; url = "github:uttarayan21/zeronsd";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
alvr = { # alvr = {
url = "git+file:/home/servius/Projects/ALVR"; # url = "git+file:/home/servius/Projects/ALVR";
inputs.nixpkgs.follows = "nixpkgs"; # inputs.nixpkgs.follows = "nixpkgs";
}; # };
}; };
outputs = { outputs = {

View File

@@ -2,7 +2,7 @@ set dotenv-load
[macos] [macos]
install: install:
nix run nix-darwin -- switch --flake . sudo nix run nix-darwin -- switch --flake .
[linux] [linux]
install: install:

View File

@@ -203,11 +203,6 @@ in {
}; };
}; };
# navic = {
# enable = true;
# settings.lsp.auto_attach = true;
# };
mini = { mini = {
enable = true; enable = true;
modules = { modules = {
@@ -579,22 +574,9 @@ in {
end end
end end
-- require("copilot").setup({
-- suggestion = {
-- enabled = true,
-- auto_trigger = true,
-- keymap = {
-- accept = "<C-l>",
-- }
-- },
-- panel = { enabled = true },
-- })
catcher(require('crates').setup) catcher(require('crates').setup)
catcher(require('outline').setup) catcher(require('outline').setup)
require('FTerm').setup({ require('FTerm').setup({
border = 'single', border = 'single',
dimensions = { dimensions = {
@@ -725,9 +707,7 @@ in {
''; '';
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = with pkgs.vimPlugins; [
FTerm-nvim FTerm-nvim
# copilot-lua
crates-nvim crates-nvim
# d2
image-nvim image-nvim
iron-nvim iron-nvim
luasnip luasnip
@@ -737,7 +717,6 @@ in {
octo-nvim octo-nvim
outline-nvim outline-nvim
plenary-nvim plenary-nvim
# typr
vim-abolish vim-abolish
vim-speeddating vim-speeddating
webapi-vim webapi-vim
@@ -746,8 +725,7 @@ in {
pkgs.tree-sitter-grammars.tree-sitter-norg pkgs.tree-sitter-grammars.tree-sitter-norg
pkgs.tree-sitter-grammars.tree-sitter-norg-meta pkgs.tree-sitter-grammars.tree-sitter-norg-meta
pkgs.tree-sitter-grammars.tree-sitter-nu pkgs.tree-sitter-grammars.tree-sitter-nu
# pkgs.tree-sitter-grammars.tree-sitter-d2
]; ];
extraLuaPackages = luaPkgs: with luaPkgs; [lua-utils-nvim nvim-nio pathlib-nvim]; extraLuaPackages = luaPkgs: with luaPkgs; [lua-utils-nvim nvim-nio pathlib-nvim];
extraPackages = [pkgs.lldb pkgs.taplo pkgs.d2 pkgs.sleek pkgs.graphqurl]; extraPackages = [pkgs.lldb pkgs.taplo pkgs.d2 pkgs.sleek pkgs.graphqurl pkgs.sqls];
} }

View File

@@ -152,7 +152,7 @@
cargoLock = {lockFile = "${src}/Cargo.lock";}; cargoLock = {lockFile = "${src}/Cargo.lock";};
}; };
alvr-master = inputs.alvr.packages.${prev.system}.default; # alvr-master = inputs.alvr.packages.${prev.system}.default;
}; };
anyrun-overlay = final: prev: { anyrun-overlay = final: prev: {
anyrun = anyrun =