From 3dd31d28f7a5d63b57723217fb85e95f992acfa6 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Thu, 9 May 2024 16:04:02 -0400 Subject: [PATCH] r --- README.md | 32 +++++++------------ flake.nix | 4 +-- .../{nix-less => workstation}/default.nix | 0 .../{nix-less => workstation}/home.nix | 2 +- 4 files changed, 14 insertions(+), 24 deletions(-) rename src/system/machines/{nix-less => workstation}/default.nix (100%) rename src/system/machines/{nix-less => workstation}/home.nix (95%) diff --git a/README.md b/README.md index 14f00b3..3ebf3a6 100644 --- a/README.md +++ b/README.md @@ -8,35 +8,25 @@ If you need a list of available packages and options: - [nixpkgs Options](https://search.nixos.org/options?) 🔍️ - [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✨ 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⚠️ -👉️Run `nixos-generate-config` if you need a new `hardware-configuration.nix` - ## Requirements ⚙️ -- Nix package manager ❄️ -- Nix 2.0 `flakes` enabled⚡️ +- [Nix package manager](https://www.nixos.org/)❄️ +- [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💥 - -Add to your `nix.conf` or `configuration.nix`👇️ -```nix -nix = { - package = pkgs.nixFlakes; - extraOptions = "experimental-features = nix-command flakes"; -}; -``` - -# Happy Nix Hacking! ❄️🔧💻️❄️ +Home-Manager Configurations: + - workstation diff --git a/flake.nix b/flake.nix index 56cf209..6f67574 100644 --- a/flake.nix +++ b/flake.nix @@ -56,9 +56,9 @@ ]; }; }; - homeConfigurations."bryan" = home-manager.lib.homeManagerConfiguration { + homeConfigurations."work" = home-manager.lib.homeManagerConfiguration { inherit pkgs; - modules = [ ./src/system/machines/nix-less ]; + modules = [ ./src/system/machines/workstation ]; }; }; } diff --git a/src/system/machines/nix-less/default.nix b/src/system/machines/workstation/default.nix similarity index 100% rename from src/system/machines/nix-less/default.nix rename to src/system/machines/workstation/default.nix diff --git a/src/system/machines/nix-less/home.nix b/src/system/machines/workstation/home.nix similarity index 95% rename from src/system/machines/nix-less/home.nix rename to src/system/machines/workstation/home.nix index e0dede3..b4d6156 100644 --- a/src/system/machines/nix-less/home.nix +++ b/src/system/machines/workstation/home.nix @@ -16,7 +16,7 @@ programs.home-manager.enable = true; programs.bash.shellAliases = { - nixup = "home-manager switch --flake"; + #nixup = "home-manager switch --flake"; }; nix = {