โ„๏ธ My personnal NixOS configuration
nix-flake nixos-configuration linux dotfiles flake nix nix-config nixos nixos-flake linux-desktop
0
fork

Configure Feed

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

ใ€Œ๐Ÿ—๏ธใ€ wip(Tmux/Nvim): Changed tmux appearence and things about nvim

+146 -51
+95 -22
flake.lock
··· 2 2 "nodes": { 3 3 "catppuccin": { 4 4 "locked": { 5 - "lastModified": 1728407414, 6 - "narHash": "sha256-B8LaxUP93eh+it8RW1pGq4SsU2kj7f0ipzFuhBvpON8=", 5 + "lastModified": 1730458408, 6 + "narHash": "sha256-JQ+SphQn13bdibKUrBBBznYehXX4xJrxD1ifBp6vSWw=", 7 7 "owner": "catppuccin", 8 8 "repo": "nix", 9 - "rev": "96cf8b4a05fb23a53c027621b1147b5cf9e5439f", 9 + "rev": "191fbf2d81a63fad8f62f1233c0051f09b75d0ad", 10 10 "type": "github" 11 11 }, 12 12 "original": { ··· 51 51 "type": "github" 52 52 } 53 53 }, 54 + "flake-utils_2": { 55 + "locked": { 56 + "lastModified": 1659877975, 57 + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", 58 + "owner": "numtide", 59 + "repo": "flake-utils", 60 + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", 61 + "type": "github" 62 + }, 63 + "original": { 64 + "owner": "numtide", 65 + "repo": "flake-utils", 66 + "type": "github" 67 + } 68 + }, 54 69 "home-manager": { 55 70 "inputs": { 56 71 "nixpkgs": [ ··· 72 87 "type": "github" 73 88 } 74 89 }, 90 + "home-unstable": { 91 + "inputs": { 92 + "nixpkgs": [ 93 + "unstablepkgs" 94 + ] 95 + }, 96 + "locked": { 97 + "lastModified": 1730633670, 98 + "narHash": "sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo+GYdmEPaYi1bZB6uf0=", 99 + "owner": "nix-community", 100 + "repo": "home-manager", 101 + "rev": "8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661", 102 + "type": "github" 103 + }, 104 + "original": { 105 + "owner": "nix-community", 106 + "ref": "master", 107 + "repo": "home-manager", 108 + "type": "github" 109 + } 110 + }, 75 111 "hyprland-contrib": { 76 112 "inputs": { 77 113 "nixpkgs": [ ··· 98 134 "nixpkgs": "nixpkgs" 99 135 }, 100 136 "locked": { 101 - "lastModified": 1729331450, 102 - "narHash": "sha256-io0o6MFnuVFbJ9M83QW/5HgL8JYZNFC5Ti21XYVyVHc=", 137 + "lastModified": 1730729521, 138 + "narHash": "sha256-0OjX53uZ4V2tUphUhk6GP/k6crGofDKa8k/ZgXueehs=", 103 139 "owner": "keyzox71", 104 140 "repo": "nvim", 105 - "rev": "a6343f8ce65a3887aa2e756a7e080e44dc126a45", 141 + "rev": "29a771e403d85d6231aaaf31d4a2819c318c2b87", 106 142 "type": "github" 107 143 }, 108 144 "original": { 109 145 "owner": "keyzox71", 146 + "ref": "indev", 110 147 "repo": "nvim", 111 148 "type": "github" 112 149 } 113 150 }, 151 + "nixgl": { 152 + "inputs": { 153 + "flake-utils": "flake-utils_2", 154 + "nixpkgs": "nixpkgs_2" 155 + }, 156 + "locked": { 157 + "lastModified": 1713543440, 158 + "narHash": "sha256-lnzZQYG0+EXl/6NkGpyIz+FEOc/DSEG57AP1VsdeNrM=", 159 + "owner": "nix-community", 160 + "repo": "nixGL", 161 + "rev": "310f8e49a149e4c9ea52f1adf70cdc768ec53f8a", 162 + "type": "github" 163 + }, 164 + "original": { 165 + "owner": "nix-community", 166 + "repo": "nixGL", 167 + "type": "github" 168 + } 169 + }, 114 170 "nixos-hardware": { 115 171 "locked": { 116 - "lastModified": 1729333370, 117 - "narHash": "sha256-NU+tYe3QWzDNpB8RagpqR3hNQXn4BNuBd7ZGosMHLL8=", 172 + "lastModified": 1730537918, 173 + "narHash": "sha256-GJB1/aaTnAtt9sso/EQ77TAGJ/rt6uvlP0RqZFnWue8=", 118 174 "owner": "NixOS", 119 175 "repo": "nixos-hardware", 120 - "rev": "38279034170b1e2929b2be33bdaedbf14a57bfeb", 176 + "rev": "f6e0cd5c47d150c4718199084e5764f968f1b560", 121 177 "type": "github" 122 178 }, 123 179 "original": { ··· 129 185 }, 130 186 "nixpkgs": { 131 187 "locked": { 132 - "lastModified": 1729044727, 133 - "narHash": "sha256-GKJjtPY+SXfLF/yTN7M2cAnQB6RERFKnQhD8UvPSf3M=", 188 + "lastModified": 1730327045, 189 + "narHash": "sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8=", 134 190 "owner": "nixos", 135 191 "repo": "nixpkgs", 136 - "rev": "dc2e0028d274394f73653c7c90cc63edbb696be1", 192 + "rev": "080166c15633801df010977d9d7474b4a6c549d7", 137 193 "type": "github" 138 194 }, 139 195 "original": { ··· 157 213 }, 158 214 "nixpkgs_2": { 159 215 "locked": { 160 - "lastModified": 1729181673, 161 - "narHash": "sha256-LDiPhQ3l+fBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I=", 216 + "lastModified": 1660551188, 217 + "narHash": "sha256-a1LARMMYQ8DPx1BgoI/UN4bXe12hhZkCNqdxNi6uS0g=", 162 218 "owner": "nixos", 163 219 "repo": "nixpkgs", 164 - "rev": "4eb33fe664af7b41a4c446f87d20c9a0a6321fa3", 220 + "rev": "441dc5d512153039f19ef198e662e4f3dbb9fd65", 221 + "type": "github" 222 + }, 223 + "original": { 224 + "owner": "nixos", 225 + "repo": "nixpkgs", 226 + "type": "github" 227 + } 228 + }, 229 + "nixpkgs_3": { 230 + "locked": { 231 + "lastModified": 1730327045, 232 + "narHash": "sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8=", 233 + "owner": "nixos", 234 + "repo": "nixpkgs", 235 + "rev": "080166c15633801df010977d9d7474b4a6c549d7", 165 236 "type": "github" 166 237 }, 167 238 "original": { ··· 179 250 ] 180 251 }, 181 252 "locked": { 182 - "lastModified": 1729103149, 183 - "narHash": "sha256-ijSwXe+2HFAOWX6NtypLfZqXCz6TOvOOZ2/o29tzrkM=", 253 + "lastModified": 1730655101, 254 + "narHash": "sha256-gQiaaNAXSgQc2va1zqxrRA6X0Lr5kAtOO8HH3A5I20E=", 184 255 "owner": "y-syo", 185 256 "repo": "pogit", 186 - "rev": "e9e0f0c318d5a8c77a95cbdbe8737d47e1c159ce", 257 + "rev": "9de63350cf2e8297c9038f17cb5c2365bdf5cfa5", 187 258 "type": "github" 188 259 }, 189 260 "original": { ··· 196 267 "inputs": { 197 268 "catppuccin": "catppuccin", 198 269 "home-manager": "home-manager", 270 + "home-unstable": "home-unstable", 199 271 "hyprland-contrib": "hyprland-contrib", 200 272 "keyznvim": "keyznvim", 273 + "nixgl": "nixgl", 201 274 "nixos-hardware": "nixos-hardware", 202 - "nixpkgs": "nixpkgs_2", 275 + "nixpkgs": "nixpkgs_3", 203 276 "pogit": "pogit", 204 277 "unstablepkgs": "unstablepkgs" 205 278 } ··· 221 294 }, 222 295 "unstablepkgs": { 223 296 "locked": { 224 - "lastModified": 1729256560, 225 - "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=", 297 + "lastModified": 1730531603, 298 + "narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=", 226 299 "owner": "nixos", 227 300 "repo": "nixpkgs", 228 - "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0", 301 + "rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d", 229 302 "type": "github" 230 303 }, 231 304 "original": {
+14 -5
flake.nix
··· 14 14 inputs.nixpkgs.follows = "nixpkgs"; 15 15 }; 16 16 17 - keyznvim.url = "github:keyzox71/nvim"; 17 + home-unstable = { 18 + url = "github:nix-community/home-manager/master"; 19 + inputs.nixpkgs.follows = "unstablepkgs"; 20 + }; 21 + 22 + keyznvim.url = "github:keyzox71/nvim/indev"; 18 23 19 24 pogit = { 20 25 url = "github:y-syo/pogit"; ··· 25 30 url = "github:hyprwm/contrib"; 26 31 inputs.nixpkgs.follows = "nixpkgs"; 27 32 }; 33 + nixgl.url = "github:nix-community/nixGL"; 28 34 }; 29 35 30 - outputs = inputs@{ self, keyznvim, nixpkgs, catppuccin, home-manager, nixos-hardware, ... }: 36 + outputs = inputs@{ nixpkgs, unstablepkgs, catppuccin, home-unstable, nixos-hardware, nixgl, ... }: 31 37 let 32 38 supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 33 39 forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { ··· 53 59 }; 54 60 }; 55 61 homeManagerConfigurations = { 56 - "42adjoly" = home-manager.lib.homeManagerConfiguration { 57 - pkgs = nixpkgs.legacyPackages."x86_64-linux"; 62 + "42adjoly" = home-unstable.lib.homeManagerConfiguration { 63 + pkgs = import unstablepkgs { 64 + system = "x86_64-linux"; 65 + overlays = [ nixgl.overlay ]; 66 + }; 58 67 modules = [ 59 68 ./home/adjoly/home42.nix 60 69 { ··· 64 73 }; 65 74 } 66 75 ]; 67 - extraSpecialArgs = { inherit inputs; }; 76 + extraSpecialArgs = { inherit inputs nixgl; }; 68 77 }; 69 78 }; 70 79 devShells = forEachSupportedSystem ({ pkgs }: {
+4 -5
home/adjoly/home42.nix
··· 29 29 30 30 home = { 31 31 packages = with pkgs; [ 32 + beeper 33 + vivaldi 34 + discord 32 35 obsidian 33 36 starship 34 - ripgrep 35 - vivaldi 37 + ticktick 36 38 vivaldi-ffmpeg-codecs 37 - discord 38 - beeper 39 - ncdu 40 39 ]; 41 40 stateVersion = "24.05"; 42 41 };
+1 -1
home/adjoly/programs/neovim.nix
··· 4 4 inputs.keyznvim.overlays.default 5 5 ]; 6 6 home.packages = with pkgs; [ 7 - nvim-pkg 7 + keyznvim 8 8 ]; 9 9 }
+32 -18
home/adjoly/programs/tmux.nix
··· 3 3 { 4 4 programs.tmux = { 5 5 enable = true; 6 - terminal = "screen-256color"; 6 + catppuccin.enable = true; 7 + terminal = "tmux-256color"; 7 8 prefix = "C-a"; 8 9 mouse = true; 9 10 keyMode = "vi"; 10 11 baseIndex = 1; 11 12 clock24 = true; 12 13 plugins = with pkgs; [ 14 + tmuxPlugins.tmux-fzf 13 15 { 14 - plugin = tmuxPlugins.resurrect; 15 - extraConfig = '' 16 - set -g @resurrect-capture-pane-contents 'on' 17 - ''; 16 + plugin = tmuxPlugins.resurrect; 17 + extraConfig = '' 18 + set -g @resurrect-capture-pane-contents 'on' 19 + ''; 18 20 } 19 - { 20 - plugin = tmuxPlugins.continuum; 21 - extraConfig = '' 22 - set -g @continuum-restore 'on' 23 - set -g @continuum-save-interval '15' # minutes 24 - ''; 25 - } 26 21 { 27 - plugin = tmuxPlugins.catppuccin; 28 - extraConfig = "set -g @catppuccin_flavour 'frappe'"; 22 + plugin = tmuxPlugins.continuum; 23 + extraConfig = '' 24 + set -g @continuum-boot 'on' 25 + set -g @continuum-restore 'on' 26 + set -g @continuum-save-interval '5' # minutes 27 + ''; 29 28 } 30 29 tmuxPlugins.vim-tmux-navigator 31 30 tmuxPlugins.sensible 32 31 ]; 33 32 extraConfig = '' 34 - set-option -g renumber-windows on 35 - bind-key -n C-x kill-pane 36 - bind -n M-H previous-window 37 - bind -n M-L next-window 33 + set-option -g renumber-windows on 34 + bind-key -n C-x kill-pane 35 + bind -n M-H previous-window 36 + bind -n M-L next-window 37 + bind-key "C-l" run-shell -b "${pkgs.tmuxPlugins.tmux-fzf}/share/tmux-plugins/tmux-fzf/scripts/session.sh switch" 38 + 39 + # Status 40 + set -g status-right '%Y-%m-%d %H:%M ' 41 + set -g status-left ''' 42 + set -g status-position bottom 43 + 44 + # Window status 45 + setw -g window-status-current-format ' #I #W #F ' 46 + setw -g window-status-current-style 'fg=#303446 bg=#babbf2' 47 + setw -g window-status-format ' #I #[fg=white]#W #[fg=mauve]#F ' 48 + 49 + # Pane status 50 + set -g pane-border-style 'fg=#292c3c' 51 + 38 52 ''; 39 53 }; 40 54 }