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

NixOS installation instructions are wrong. #20

Open
con-f-use opened this issue Mar 24, 2024 · 0 comments
Open

NixOS installation instructions are wrong. #20

con-f-use opened this issue Mar 24, 2024 · 0 comments

Comments

@con-f-use
Copy link

The instructions of NixOS without flake are wrong:

https://github.com/snowfallorg/nixos-conf-editor/tree/27b5e92f580f794c690093503869aab242f075ab?tab=readme-ov-file#nixos-installation

Following them gives error: attempt to call something which is not a function.

They should probably read something like this:

{ config, pkgs, lib, ... }:
let
  nixos-conf-editor-flake = import (pkgs.fetchFromGitHub {
    owner = "snowfallorg";
    repo = "nixos-conf-editor";
    rev = "0.1.2";
    sha256 = "sha256-/ktLbmF1pU3vFHeGooDYswJipNE2YINm0WpF9Wd1gw8=";
  });
in
#...
environment.systemPackages = with pkgs; [
  nixos-conf-editor-flake.packages.${system}.nixos-conf-editor
];

i.e. not calling the import and using the proper flake output. Or you have to change your default.nix.

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

1 participant