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
make nixos-eval-<profile>
make nixos-build-<profile>
make 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/.
make nix-darwin-eval-<profile>
make nix-darwin-build-<profile>
make 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.
make nix-home-eval-<profile>
make nix-home-build-<profile>
make nix-home-<profile>
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/.
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
pwsh -f .\scripts\init.ps1
- Run
init.ps1on PowerShell. - The script will request administrator privilege to create symbolic links.
- This will install some application via
winget.