Comments (4)
Is there a way to get the home-manager command back?
I tried to do the following:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs-channels/nixos-unstable";
nixpkgs-stable = {
url = "github:NixOS/nixpkgs/nixos-20.03";
flake = false;
};
home.url = github:rycee/home-manager/bqv-flakes;
nur.url = github:nix-community/NUR;
};
outputs = { nixpkgs, nix, self, ... }@inputs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(import ./configuration.nix)
inputs.home.nixosModules.home-manager
];
specialArgs = { inherit inputs; };
};
legacyPackages.x86_64-linux = self.nixosConfigurations.nixos.pkgs;
};
}
Then I added home-manager.users.suhr.programs.home-manager.enable = true;
to the system configuration.
nixos-rebuild switch
ran without problems. But there's no home-manager
at the user side.
from digga.
nixos-rebuild switch
ran without problems. But there's nohome-manager
at the user side.
It seems that this is intended behaviour from home-manager
. See the setting for home-manager.users.<name?>.programs.home-manager
at <home-manager/modules/programs/home-manager.nix>. This checks not only that home-manager
is enabled but also that submoduleSupport
is disabled (and in this case it's not). This seems to come from the first ever commit with module support (nix-community/home-manager@1bc59f7).
As far as I understand (and take this with a grain of salt), you should probably just manage the home-manager
generations as part of the whole system generations, and therefore there should be no need to use the home-manager
CLI tool.
from digga.
Yeah, I figured out that home-manager does not support cli with flakes. I use a flake to manage user packages now. It would be nice to have something to manage some configuration as well though.
from digga.
I'm going to close this as it really isn't related to the project. However, I am hoping to update the documentation to be a bit more thorough in the near future.
from digga.
Related Issues (20)
- ci: workflow to build example hosts
- Onboarding documentation incomplete HOT 1
- [Documentation] Relationship between digga API and raw flake API/output
- How do I use the examples?
- `emacs-overlay` cause errors HOT 11
- Question - How do you make platform aware modules HOT 2
- Support customTestFor with multiple (different) nodes HOT 1
- bug report template: add example command to provide environment metadata HOT 1
- `groupByConfig`@`main` fails check due to insecure `python3.9-poetry-1.1.12` HOT 1
- use `.overlays.*` instead of `.overlay` HOT 2
- Inconsistent behaviour when accessing `self.lib` in different places
- Changes to user profiles are not applied upon rebuilding HOT 1
- Comparison to `divnix/std` & `divnix/hive` HOT 18
- Cannot login account when switch to devos config HOT 2
- nix-shell after following the quickstart guide returns an error
- digga tries to do something clever by loading all inputs' overlays, but fails HOT 9
- Clean Installation gives out error HOT 1
- Devos digga input needs update
- Infinite recursion encountered when using Stylix HOT 1
- Ending digga HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digga.