Skip to content
Discussion options

You must be logged in to vote

After lots of back and forth here, this seems to work:

configuration.nix:

# configuration.nix
{ pkgs, flake-inputs, ... }: {
  imports = [
    ./hardware-configuration.nix
    flake-inputs.home-manager.nixosModules.home-manager
    flake-inputs.stylix.nixosModules.stylix
  ];

  stylix = {
    base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
    autoEnable = true;
    enable = true;
  };

  home-manager = {
    useGlobalPkgs = true;
    useUserPackages = true;
    # See next snippet
    users.myUsername = import ./home.nix;
  };

  # Any other config here
}

home.nix:

# home.nix
{ pkgs, ... }: {
  home = {
    # Remember not to touch this, no
    # it's not for …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@trueNAHO
Comment options

@MoltenMonster
Comment options

@trueNAHO
Comment options

@MoltenMonster
Comment options

@danth
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MoltenMonster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants