This commit is contained in:
Bryan Ramos 2024-05-09 16:04:02 -04:00
parent 6a06793716
commit 3dd31d28f7
4 changed files with 14 additions and 24 deletions

View file

@ -8,35 +8,25 @@ If you need a list of available packages and options:
- [nixpkgs Options](https://search.nixos.org/options?) 🔍️ - [nixpkgs Options](https://search.nixos.org/options?) 🔍️
- [home-manager Options](https://mipmip.github.io/home-manager-option-search/) ☕️ - [home-manager Options](https://mipmip.github.io/home-manager-option-search/) ☕️
## Get Inspired 🌟
Ready to go down the Nix 🐇🕳️❓️
Fork this repo and create your own NixOS config✨ Fork this repo and create your own NixOS config✨
Take inspiration💡, borrow ideas💭 and customize it to your 💖 content Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
⚠️ Be sure to tailor any settings related to my hardware and system to your own hardware⚠ ⚠️ Be sure to tailor any settings related to my hardware and system to your own hardware⚠
👉Run `nixos-generate-config` if you need a new `hardware-configuration.nix`
## Requirements ⚙️ ## Requirements ⚙️
- Nix package manager ❄️ - [Nix package manager](https://www.nixos.org/)❄️
- Nix 2.0 `flakes` enabled⚡ - [Nix 2.0 `flakes` enabled](https://nixos.wiki/wiki/Flakes#Enable_flakes_permanently_in_NixOS)⚡️
- *optional*[home-manager installed](https://nix-community.github.io/home-manager/index.xhtml#sec-flakes-standalone)
Install by visiting [nixos.org](https://www.nixos.org/) or through your package manager🚀 # End-Points Exposed ❄️🔧💻️❄️
### Enabling Flakes ❄️ NixOS Configurations:
- desktop
- server
- laptop (wip)
- wsl
Unleash Nix💥 Home-Manager Configurations:
- workstation
Add to your `nix.conf` or `configuration.nix`👇️
```nix
nix = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
};
```
# Happy Nix Hacking! ❄️🔧💻️❄️

View file

@ -56,9 +56,9 @@
]; ];
}; };
}; };
homeConfigurations."bryan" = home-manager.lib.homeManagerConfiguration { homeConfigurations."work" = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [ ./src/system/machines/nix-less ]; modules = [ ./src/system/machines/workstation ];
}; };
}; };
} }

View file

@ -16,7 +16,7 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.bash.shellAliases = { programs.bash.shellAliases = {
nixup = "home-manager switch --flake"; #nixup = "home-manager switch --flake";
}; };
nix = { nix = {