Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

Lots of changes

+25 -15
+2 -1
noah-home.nix
··· 76 76 python311Packages.pip 77 77 poetry 78 78 sqlite 79 + pandoc 79 80 unstable.harec 80 81 unstable.hare 81 82 unstable.haredo ··· 114 115 defaultEditor = true; 115 116 withNodeJs = true; 116 117 withPython3 = true; 117 - extraPackages = with pkgs; [ fzf ripgrep luarocks unstable.tree-sitter ]; 118 + extraPackages = with pkgs; [ unstable.fzf unstable.ripgrep luarocks unstable.tree-sitter ]; 118 119 }; 119 120 programs.git = { 120 121 enable = true;
+1 -1
nvim/lua/lsp.lua
··· 58 58 -- Of course the Java-based ones are verbose af 59 59 "kotlin_language_server", "java_language_server", "jsonls", "pest_ls", 60 60 "ocamllsp", "reason_ls", "racket_langserver", "rust_analyzer", 61 - "scheme_langserver", "sqls", "thriftls", "typst_lsp", "vhdl_ls", "yamlls", 61 + "scheme_langserver", "sqls", "thriftls", "tinymist", "vhdl_ls", "yamlls", 62 62 "zls", "ts_ls", "eslint", "metals", "futhark_lsp", "roc_ls", 63 63 -- disabled because it's broken 64 64 -- "scheme_langserver",
+6 -6
nvim/lua/plugins.lua
··· 25 25 { "cranberry-clockworks/coal.nvim", priority = 1000, lazy = true }, 26 26 { "hardselius/warlock", priority = 1000, lazy = true }, 27 27 { "sontungexpt/witch", priority = 1000, lazy = true, config = true }, 28 - { "catppuccin/nvim", name = "catppuccin", priority = 1000, lazy = true }, 28 + { "catppuccin/nvim", priority = 1000, name = "catppuccin", lazy = true }, 29 29 { 30 30 "neanias/everforest-nvim", 31 31 version = false, ··· 166 166 }, 167 167 -- Fuzzy finding stuff 168 168 "junegunn/fzf.vim", 169 - { 170 - dir = "~/.fzf", 171 - build = function() vim.fn["fzf#install"](0) end, 172 - dependencies = { "junegunn/fzf.vim" } 173 - }, 169 + --{ 170 + -- dir = "~/.fzf", 171 + -- build = function() vim.fn["fzf#install"](0) end, 172 + -- dependencies = { "junegunn/fzf.vim" } 173 + --}, 174 174 -- A lua + nvim stdlib sort of thing 175 175 { "nvim-lua/plenary.nvim", lazy = true, }, 176 176 -- Telescope, find anything fast
+1 -1
packages.nix
··· 67 67 grim 68 68 swayidle 69 69 swaylock 70 - gnome.adwaita-icon-theme 70 + adwaita-icon-theme 71 71 dracula-theme 72 72 glib 73 73 xdg-utils
+6
ssh/extra
··· 26 26 IdentityFile ~/.ssh/id_ed25519 27 27 ForwardAgent yes 28 28 29 + Host aleister 30 + HostName 192.168.1.16 31 + User noah 32 + IdentityFile ~/.ssh/id_ed25519 33 + ForwardAgent yes 34 + 29 35 Host komoe 30 36 HostName 192.168.1.5 31 37 User noah
+9 -6
users.nix
··· 1 - { pkgs, ... }: 1 + { pkgs, lib, ... }: 2 2 let 3 3 home-manager = builtins.fetchTarball 4 4 "https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz"; ··· 20 20 shell = pkgs.fish; 21 21 extraGroups = [ "wheel" "video" "nas"]; # Enable ‘sudo’ for the user. 22 22 hashedPasswordFile = "/etc/nixos/noah-password"; 23 - openssh.authorizedKeys.keys = [ 24 - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC/cXL1cV6QUW5z2bJp1mCu0CXrcc0Dntdxaeo3fg60N noah@odin" 25 - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJeSPXmzD0rXKNjR1q+qSJqXjO0gxLitTRD+m02v94p6 noah@aleister" 26 - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDQFlX3hhXxsqAUYLvF+IX1YWQ+k22OHlqMOjgyNBe9e noah@misaki" 27 - ]; 23 + openssh.authorizedKeys.keys = 24 + lib.strings.splitString "\n" (builtins.readFile (builtins.fetchurl { 25 + url = "https://meta.sr.ht/~chiefnoah.keys"; 26 + name = "chiefnoah.keys"; 27 + # Update this with: 28 + # `curl https://meta.sr.ht/~chiefnoah.keys | sha256sum` 29 + sha256 = "1587d75012cdd77c2dc006b3162e816213c5bac9c8c4addf81d66c156393b1fc"; 30 + })); 28 31 }; 29 32 users.groups.nas.gid = 1001; 30 33 # I manage my home with home-manager