Myuu's dotfiles using Nix Flakes.
Defined as follows in .#nixosConfigurations:
# 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;
});profileis used for retriving per-profile definitions fromprofiles/andhome-manager/profiles/.- For WSL,
nixWslArgsis passed tonixosSystem. desktopindicates whether the target profile is deployed to the desktop or headless system.- Some GUI applications are not installed when
desktop = false.
- Some GUI applications are not installed when
just nixos-eval <profile>
just nixos-build <profile>
just nixos <profile>
Defined as follows in .#darwinConfigurations:
hoge = darwinSystem (darwinSystemArgs {
profile = "hoge";
username = "myuu";
system = "aarch64-darwin";
});profileis used for retriving per-profile definitions fromprofiles/andhome-manager/profiles/.
just nix-darwin-eval <profile>
just nix-darwin-build <profile>
just nix-darwin <profile>
Defined as follows in .#homeConfigurations:
hoge = homeManagerConfiguration (homeManagerArgs {
profile = "hoge";
hostname = "hoge";
username = "user";
system = "x86_64-linux";
desktop = false;
wslhost = false;
});profileis used for retriving per-profile definitions fromhome-manager/profiles/.hostnameandusernamemust be set to the target hostname and username.desktopindicates whether the target profile is deployed to the desktop or headless system.wslhostindicates whether the target profile is deployed to the wsl or non-wsl system.
just nix-home-eval <profile>
just nix-home-build <profile>
just nix-home <profile>
For the non-nix host, mise and sheldon are used to deploy cli apps and shell plugins. CLI versions are defined in mise/config.toml. Configuration files are deployed by linking to actual files under config/.
just legacy-install
# Install mise, link its global config, and install CLI tools only
just mise-install
# neovim can be installed / updated as follows
# This will install neovim into ~/.local/bin and create links to the configuration.
just nvim-install
Download and run only init.ps1 from PowerShell (PowerShell 7 and Git do not need to be installed beforehand):
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/Nanamiiiii/dotfiles/main/scripts/init.ps1' -OutFile "$env:TEMP\init.ps1"
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\init.ps1"