❄️ 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.

「✨」 feat: Added nix dev shell for nil lsp

adjoly bbe4fff5 5a87f436

+27 -5
+1
.envrc
··· 1 + use flake
+1
.gitignore
··· 1 1 result 2 + .direnv
+15 -5
flake.nix
··· 28 28 29 29 outputs = inputs@{ self, nixpkgs, catppuccin, home-manager, nixos-hardware, ... }: 30 30 let 31 - inherit (self) outputs; 32 - systems = [ "x86_64-linux" "x86_64-darwin" ]; 33 - forSystems = nixpkgs.lib.genAttrs systems; 31 + supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 32 + forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { 33 + pkgs = import nixpkgs { inherit system; }; 34 + }); 34 35 in 35 36 { 36 37 nixosConfigurations = { 37 38 LAPTOP-5530-ADAM = nixpkgs.lib.nixosSystem { 38 39 system = "x86_64-linux"; 39 - specialArgs = { inherit inputs outputs; }; 40 + specialArgs = { inherit inputs; }; 40 41 modules = [ 41 42 ./hosts/LAPTOP-5530-ADAM/default.nix 42 43 ··· 60 61 }; 61 62 } 62 63 ]; 63 - extraSpecialArgs = { inherit inputs outputs; }; 64 + extraSpecialArgs = { inherit inputs; }; 64 65 }; 65 66 }; 67 + devShells = forEachSupportedSystem ({ pkgs }: { 68 + default = pkgs.mkShell.override 69 + {} 70 + { 71 + packages = with pkgs; [ 72 + nil 73 + ]; 74 + }; 75 + }); 66 76 }; 67 77 }
+1
home/adjoly/home.nix
··· 13 13 ./programs/pogit.nix 14 14 ./programs/kitty.nix 15 15 ./programs/direnv.nix 16 + ./programs/fastfetch.nix 16 17 ./programs/shell/zsh.nix 17 18 18 19 inputs.catppuccin.homeManagerModules.catppuccin
+9
home/adjoly/programs/fastfetch.nix
··· 1 + { ... }: 2 + { 3 + programs.fastfetch = { 4 + enable = true; 5 + settings = { 6 + 7 + }; 8 + }; 9 + }