Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajaneeshihx opened this issue Oct 27, 2024 · 2 comments

Comments

@ajaneeshihx
Copy link

ajaneeshihx commented Oct 27, 2024

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
Copy link
Owner

nmasur commented Oct 28, 2024

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!

@ajaneeshihx
Copy link
Author

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants