KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
dotfiles
★ 11
Open GitHub ↗
Nix is awesome :)
Download README (.md)
Explore Similar Repositories
Jiu-jitsu_para_todos
:
App about Jiu-jitsu
osx-setup
:
Set up my osx environment with a one-liner
articles-server
:
리액트 네이티브를 다루는 기술의 15장 React-Query에서 사용할 Strapi로 만든 샘플 게시글 서버
UM2
:
An unstructured mesh library for automated method of characteristic mesh generation
Constrained-Model-Based-Policy-Optimization
:
Code for a model-based version of Constrained Policy Optimization
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
dotfiles
?
Download (.md)
# dotfiles Myuu's dotfiles using Nix Flakes. ## NixOS Defined as follows in `.#nixosConfigurations`: ```nix # NixOS hoge = nixosSystem (nixosSystemArgs { profile = "hoge"; username = "user"; system = "x86_64-linux"; desktop = true; }); # WSL fuga = nixosSystem (nixWslArgs { profile = "fuga"; username = "user"; system = "x86_64-linux"; desktop = true; }); ``` - `profile` is used for retriving per-profile definitions from `profiles/` and `home-manager/profiles/`. - For WSL, `nixWslArgs` is passed to `nixosSystem`. - `desktop` indicates whether the target profile is deployed to the desktop or headless system. - Some GUI applications are not installed when `desktop = false`. ### Eval ``` make nixos-eval-<profile> ``` ### Build ``` make nixos-build-<profile> ``` ### Deploy ``` make nixos-<profile> ``` ## macOS Defined as follows in `.#darwinConfigurations`: ```nix hoge = darwinSystem (darwinSystemArgs { profile = "hoge"; username = "myuu"; system = "aarch64-darwin"; }); ``` - `profile` is used for retriving per-profile definitions from `profiles/` and `home-manager/profiles/`. ### Eval ``` make nix-darwin-eval-<profile> ``` ### Build ``` make nix-darwin-build-<profile> ``` ### Deploy ``` make nix-darwin-<profile> ``` ## Only Home Manager Defined as follows in `.#homeConfigurations`: ```nix hoge = homeManagerConfiguration (homeManagerArgs { profile = "hoge"; hostname = "hoge"; username = "user"; system = "x86_64-linux"; desktop = false; wslhost = false; }); ``` - `profile` is used for retriving per-profile definitions from `home-manager/profiles/`. - `hostname` and `username` must be set to the target hostname and username. - `desktop` indicates whether the target profile is deployed to the desktop or headless system. - `wslhost` indicates whether the target profile is deployed to the wsl or non-wsl system. ### Eval ``` make nix-home-eval-<profile> ``` ### Build ``` make nix-home-build-<profile> ``` ### Deploy ``` make nix-home-<profile> ``` ## without Nix For the non-nix host, `aqua` and `sheldon` are used to deploy cli apps and shell plugins. Configuration files are deployed by linking to actual files under `config/`. ### Linux ``` make legacy-install # neovim can be installed / updated as follows # This will install neovim into ~/.local/bin and create links to the configuration. make nvim-install ``` ### Windows ``` pwsh -f .\scripts\init.ps1 ``` - Run `init.ps1` on PowerShell. - The script will request administrator privilege to create symbolic links. - This will install some application via `winget`.