this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

who the fuck knows how i fucked up nvim that bad

+56 -53
+42 -42
flake.nix
··· 1 - { self, config, lib, pkgs, ... }: 2 - let inherit (lib) fileContents; 3 - in 4 1 { 5 - imports = [ ../../users/anish ]; 2 + description = "Your new nix config"; 6 3 4 + inputs = { 5 + # Nixpkgs 6 + nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; 7 + unstable.url = "github:nixos/nixpkgs/nixos-unstable"; 7 8 8 - fonts = { 9 - fonts = with pkgs; [ powerline-fonts dejavu_fonts ]; 10 - fontconfig.defaultFonts = { 11 - monospace = [ "DejaVu Sans Mono for Powerline" ]; 12 - sansSerif = [ "DejaVu Sans" ]; 13 - }; 14 - }; 15 - 16 - nix = { 17 - settings = { 18 - sandbox = true; 19 - trusted-users = [ "root" "@wheel" ]; 20 - allowed-users = [ "@wheel" ]; 21 - auto-optimise-store = true; 22 - system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; 23 - }; 24 - gc.automatic = true; 25 - optimise.automatic = true; 26 - extraOptions = '' 27 - min-free = 536870912 28 - keep-outputs = true 29 - keep-derivations = true 30 - fallback = true 31 - ''; 32 - }; 9 + # Home manager 10 + home-manager.url = "github:nix-community/home-manager"; 11 + home-manager.inputs.nixpkgs.follows = "nixpkgs"; 12 + hardware.url = "github:nixos/nixos-hardware"; 33 13 34 - environment.systemPackages = with pkgs; [ 35 - pinentry_gnome 36 - cached-nix-shell 37 - ]; 14 + # Tools 15 + agenix.url = "github:ryantm/agenix"; 16 + agenix.inputs.nixpkgs.follows = "nixpkgs"; 17 + deploy-rs.url = "github:serokell/deploy-rs"; 18 + deploy-rs.inputs.nixpkgs.follows = "nixpkgs"; 38 19 39 - # For rage encryption, all hosts need a ssh key pair 40 - services.openssh = { 41 - enable = true; 42 - openFirewall = lib.mkDefault false; 20 + # Packages 21 + poonam.url = "git+ssh://gitea@git.sealight.xyz/aynish/kitaab?ref=main"; 22 + basant.url = "git+ssh://gitea@git.sealight.xyz/aynish/basant?ref=main"; 23 + basant.inputs.nixpkgs.follows = "nixpkgs"; 24 + basant.inputs.poonam.follows = "poonam"; 25 + grasp.url = "git+ssh://gitea@git.sealight.xyz/aynish/grasp.git?ref=main"; 26 + grasp.inputs.nixpkgs.follows = "nixpkgs"; 27 + # Others 28 + nur.url = "github:nix-community/NUR"; 29 + rust-overlay = { 30 + url = "github:oxalica/rust-overlay"; 31 + inputs.nixpkgs.follows = "nixpkgs"; 32 + }; 33 + eww = { 34 + url = "github:elkowar/eww"; 35 + inputs.nixpkgs.follows = "nixpkgs"; 36 + inputs.rust-overlay.follows = "rust-overlay"; 37 + }; 38 + tidalcycles.url = "github:mitchmindtree/tidalcycles.nix"; 39 + tidalcycles.inputs.nixpkgs.follows = "unstable"; 40 + # TODO hundred rabbits software 41 + # TODO needs secrets 42 + # dhyan.url = "git+ssh://gitea@git.sealight.xyz/aynish/dhyan?ref=main"; 43 + # dhyan.inputs.nixpkgs.follows = "nixpkgs"; 44 + # TODO needs secrets 45 + # muneem.url = "git+ssh://gitea@git.sealight.xyz/aynish/muneem?ref=main"; 46 + # muneem.inputs.nixpkgs.follows = "nixpkgs"; 43 47 }; 44 48 45 - # programs.gnupg.agent.enable = true; 46 - # programs.gnupg.agent.pinentryFlavor = "curses"; 47 - 48 - services.earlyoom.enable = true; 49 - } 49 + outputs = 50 50 { self 51 51 , nixpkgs 52 52 , unstable
+14 -11
home/profiles/nvim/default.nix
··· 144 144 pynvim 145 145 six 146 146 pylsp-mypy 147 + #pyls-isort 148 + #pyls-black 147 149 black 148 150 isort 149 151 # other python packages you want ··· 537 539 require("luasnip.loaders.from_vscode").lazy_load() 538 540 539 541 -- null-ls 540 - local null_ls = require("null-ls") 541 - null_ls.setup({ 542 - sources = { 543 - null_ls.builtins.code_actions.statix, 544 - null_ls.builtins.diagnostics.shellcheck, 545 - -- null_ls.builtins.diagnostics.clj_kondo, 546 - null_ls.builtins.formatting.isort, 547 - null_ls.builtins.formatting.black, 548 - null_ls.builtins.code_actions.proselint, 549 - }, 550 - }) 542 + -- being very janky 543 + -- local null_ls = require("null-ls") 544 + -- null_ls.setup({ 545 + -- sources = { 546 + -- null_ls.builtins.code_actions.statix, 547 + -- null_ls.builtins.diagnostics.shellcheck, 548 + -- -- null_ls.builtins.diagnostics.clj_kondo, 549 + -- null_ls.builtins.formatting.isort, 550 + -- null_ls.builtins.formatting.black, 551 + -- null_ls.builtins.code_actions.proselint, 552 + -- }, 553 + -- }) 551 554 552 555 -- Setup lspconfig 553 556 require("lsp-format").setup {}