AmadeusWM / nixos-dots

7 stars 2 forks source link

Applying dots.. #2

Closed fakede-d closed 1 month ago

fakede-d commented 1 month ago

I am trying to apply dots and not familiar with NixOS. So, how should I do that? I tried adding provided code as flake.nix but when building it gave this error:

warning: creating lock file '/etc/nixos/flake.lock'
error: flake 'path:/etc/nixos' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."nixos".config.system.build.nixos-rebuild', 'legacyPackages.x86_64-linux.nixosConfigurations."nixos".config.system.build.nixos-rebuild' or 'nixosConfigurations."nixos".config.system.build.nixos-rebuild
AmadeusWM commented 1 month ago

You can use this flake as an input for your configuration flake (such as the one provided in the readme).

AmadeusWM commented 1 month ago

And then rebuild with: home-manager switch --flake ~/path/to/flake#home-manager