dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

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

Open ajaneeshihx opened this issue 1 year ago • 2 comments

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$ 

ajaneeshihx avatar Oct 27 '24 03:10 ajaneeshihx

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!

nmasur avatar Oct 28 '24 12:10 nmasur

What i am attempting to do is create an emacs base install that has all the necessary packages (what i currently deem necessary) coming out of a nix flake build while having the ability to maintain the larger configuration as a org literate config. What i have currently is like a very strict setup that makes my config immutable as it points to nix store. what i am hoping to have is an initial immutable configuration that brings with it all the vital plugins and customizations with individuals still having the ability to override and tune further. Any suggestions on what would be the best way to go about it? In essence i want to keep the "install" side of things a part of the nix flake and keep the "configuration" part of it in an org file. Its fine if users have to do org-bable-tangle once before they get started..

ajaneeshihx avatar Dec 02 '24 12:12 ajaneeshihx