Merge branch 'main' of https://codeberg.org/traverseda/nixos-config
This commit is contained in:
commit
16d42cfd4e
@ -1,4 +1,3 @@
|
||||
|
||||
https://github.com/Misterio77/nix-starter-configs
|
||||
|
||||
## Notes
|
||||
@ -8,6 +7,12 @@ https://github.com/Misterio77/nix-starter-configs
|
||||
nixos-rebuild build-vm --flake ./#athame
|
||||
```
|
||||
|
||||
```bash
|
||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
home-manager switch --flake git+https://codeberg.org/traverseda/nixos-config.git?ref=main#traverseda@generic --extra-experimental-features nix-command --extra-experimental-features flakes
|
||||
```
|
||||
|
||||
|
||||
## Building a LiveCD
|
||||
|
||||
To build a livecd using this flake, you can use the following command:
|
||||
|
10
flake.nix
10
flake.nix
@ -179,6 +179,16 @@
|
||||
./home-manager/traverseda/home.nix
|
||||
];
|
||||
};
|
||||
"spiri@generic" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.aarch64-linux; # Home-manager requires 'pkgs' instance
|
||||
extraSpecialArgs = {inherit inputs outputs;
|
||||
homeUser = "spiri";
|
||||
homeDir = "/home/spiri";
|
||||
};
|
||||
modules = [
|
||||
./home-manager/traverseda/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -6,6 +6,7 @@
|
||||
# lib,
|
||||
config,
|
||||
pkgs,
|
||||
specialArgs,
|
||||
...
|
||||
}: {
|
||||
# You can import other home-manager modules here
|
||||
@ -42,8 +43,8 @@
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "traverseda";
|
||||
homeDirectory = "/home/traverseda";
|
||||
username = specialArgs.homeUser or "traverseda";
|
||||
homeDirectory = specialArgs.homeDir or "/home/traverseda";
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
|
Loading…
Reference in New Issue
Block a user