nmasur / dotfiles

Nix configuration and settings
MIT License
163 stars 6 forks source link

error: flake does not provide attribute 'homeConfigurations."tempest".config.news.json.output' #92

Open ajaneeshihx opened 1 month ago

ajaneeshihx commented 1 month ago

I have been trying to setup home-manager on my ChromeOS flex laptop and I run into this issue... I am not able to debug this as there isn't a lot of information to go by

tried running with --show-trace but I don't see any extra information from that. I am a Nix novice. I have this working on my work laptop on WSL. that is NixOS and not just home-manager. I use the hydra configuration. I know tempest is probably not designed with flexos developer linux environment in mind (which by the way is a debian container).

Any help will be appreciated.. I literally searched for the word news across the configuration and disabled everything that looked like it was even remotely related.

Any ideas.

nixos@penguin:~/dotfiles$ home-manager switch --flake .#tempest
warning: Git tree '/home/nixos/dotfiles' is dirty
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating migrateGhAccounts
Activating linkGeneration
Cleaning up orphan links from /home/nixos
No change so reusing latest profile generation 13
Creating home file links in /home/nixos
Activating batCache
No themes were found in '/home/nixos/.config/bat/themes', using the default set
No syntaxes were found in '/home/nixos/.config/bat/syntaxes', using the default set.
Writing theme set to /home/nixos/.cache/bat/themes.bin ... okay
Writing syntax set to /home/nixos/.cache/bat/syntaxes.bin ... okay
Writing metadata to folder /home/nixos/.cache/bat ... okay
Activating cloneDotfiles
Activating createXdgUserDirectories
Activating installPackages
uninstalling 'home-manager-path'
Activating dconfSettings
Activating onFilesChange
Activating reloadSystemd
The user systemd session is degraded:
  UNIT                    LOAD      ACTIVE SUB    DESCRIPTION            
● imapnotify-home.service not-found failed failed imapnotify-home.service
● mbsync.service          not-found failed failed mbsync.service         
● mbsync.timer            not-found failed failed mbsync.timer
● nix-gc.timer            loaded    failed failed Nix Garbage Collector

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

4 loaded units listed.
Attempting to reload services anyway...
Activating updateLockScreenCache
warning: Git tree '/home/nixos/dotfiles' is dirty
error: flake 'git+file:///home/nixos/dotfiles' does not provide attribute 'packages.x86_64-linux.homeConfigurations."tempest".config.news.json.output', 'legacyPackages.x86_64-linux.homeConfigurations."tempest".config.news.json.output' or 'homeConfigurations."tempest".config.news.json.output'
nixos@penguin:~/dotfiles$ 
nmasur commented 4 weeks ago

Hey @ajaneeshihx, thanks for checking out the repo. Glad to hear you're jumping into Nix!

Unfortunately, it seems like you've found a bug in my project. I don't usually use home-manager directly so I never spotted it even though it seems to have likely started in 2023.

I'll let you know if I manage to figure out how to fix it, but it's not your fault!