mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added development environment
This commit is contained in:
parent
c58e64bae2
commit
c1405c5a2e
3 changed files with 31 additions and 19 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
||||||
43
README.md
43
README.md
|
|
@ -1,27 +1,15 @@
|
||||||
# My Nix Configurations ❄️💻
|
# My Nix Configurations 💻
|
||||||
|
|
||||||
My modular Nix configs🔥
|
My modular Nix configs🔥
|
||||||
|
|
||||||
If you need a list of available packages and options:
|
|
||||||
|
|
||||||
- [nixpkgs Packages](https://search.nixos.org/packages) 📦️
|
|
||||||
- [nixpkgs Options](https://search.nixos.org/options?) 🔍️
|
|
||||||
- [home-manager Options](https://mipmip.github.io/home-manager-option-search/) ☕️
|
|
||||||
|
|
||||||
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⚠️
|
|
||||||
|
|
||||||
## Requirements ⚙️
|
## Requirements ⚙️
|
||||||
|
### NixOS Configurations
|
||||||
|
- [NixOS](https://www.nixos.org/)
|
||||||
|
- [Nix 2.0 & Flakes enabled](https://nixos.wiki/wiki/Flakes#Enable_flakes_permanently_in_NixOS)
|
||||||
|
### Home-Manager Configuration
|
||||||
|
- [Nix Home-Manager](https://nix-community.github.io/home-manager/index.xhtml#sec-flakes-standalone)
|
||||||
|
|
||||||
- [Nix package manager](https://www.nixos.org/)
|
# Flake End-Points Exposed ❄️
|
||||||
- [Nix 2.0 `flakes` enabled](https://nixos.wiki/wiki/Flakes#Enable_flakes_permanently_in_NixOS)
|
|
||||||
- [home-manager installed](https://nix-community.github.io/home-manager/index.xhtml#sec-flakes-standalone)*optional*
|
|
||||||
|
|
||||||
# End-Points Exposed ❄️🔧💻️❄️
|
|
||||||
|
|
||||||
NixOS Configurations:
|
NixOS Configurations:
|
||||||
- desktop
|
- desktop
|
||||||
- wsl
|
- wsl
|
||||||
|
|
@ -29,3 +17,20 @@ NixOS Configurations:
|
||||||
|
|
||||||
Home-Manager Configurations:
|
Home-Manager Configurations:
|
||||||
- workstation
|
- workstation
|
||||||
|
|
||||||
|
Fork this repo, take inspiration, borrow ideas and create your own NixOS configs & modules
|
||||||
|
|
||||||
|
## Developing & Customizing 🔧
|
||||||
|
If you need a list of available packages and options:
|
||||||
|
- [nixpkgs Packages](https://search.nixos.org/packages) 📦️
|
||||||
|
- [nixpkgs Options](https://search.nixos.org/options?) 🔍️
|
||||||
|
- [Home-Manager Options](https://mipmip.github.io/home-manager-option-search/) ☕️
|
||||||
|
|
||||||
|
Invoke `nix develop` to enter a development shell powered by [`just`](https://github.com/casey/just)
|
||||||
|
Invoke `just` in order to view an available list of project scripts
|
||||||
|
|
||||||
|
`user.configs.nix` is a symlink to conveniently access centrally defined common user variables from the repo root
|
||||||
|
|
||||||
|
⚠️ Be sure to tailor any hardware settings to your own
|
||||||
|
⚠️ Replace the `hardware.nix` found in the `src/system/machines/<machine>` directory
|
||||||
|
⚠️ Run `nixos-generate-config` to generate a `hardware-configuration.nix` for your current system
|
||||||
|
|
|
||||||
|
|
@ -68,5 +68,11 @@
|
||||||
./src/system/machines/workstation
|
./src/system/machines/workstation
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
devShells.${system}.default = with pkgs; mkShell {
|
||||||
|
packages = [
|
||||||
|
just
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue