-
|
Hi, how to install caelestia-dots on NixOS, I tried to do it myself but it didn't work |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
|
The entirety of the dots does not have a flake currently, however the shell and cli both have flakes that you can install. I recommend simply installing the cli with the For the rest of the configs, I recommend using something like hjem to symlink them into place |
Beta Was this translation helpful? Give feedback.
-
|
There is almost an unlimited amount of ways you can achieve this, but it depends on if you really want all the dots' config on your NixOS setup (which I would really not recommend IMHO) or just the shell setup. As @soramanew mentioned, you can use the withShell override or use seperate flake inputs for the modules you need. I would recommend setting up hyprland for NixOS yourself though. HMU if you need any help at all. |
Beta Was this translation helpful? Give feedback.
-
|
I personally use caelestia-shell and override witCli = true because I can get the latest changes in this repo |
Beta Was this translation helpful? Give feedback.
-
|
can someone share their flake so i can see exaclty how this is achieved? |
Beta Was this translation helpful? Give feedback.
-
|
This is how I add caelestia-shell to my nixpkgs, using an overlay: {
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
caelestia-shell = {
url = "github:caelestia-dots/shell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
caelestia-shell = inputs.caelestia-shell.packages.${system}.caelestia-shell;
caelestia-cli = inputs.caelestia-shell.inputs.caelestia-cli.packages.${system}.caelestia-cli;
})
];
};
in rec {
...
};
}This uses the caelestia-cli from caelestia-shell dependency, instead of doing the withShell approach in caelestia-cli where the shell can be outdated because the inputs in the caelestia-cli were not updated. in Home Manager, I use my own home manager module, which I pretend to share when its done, but I add caelestia-shell and caelestia-cli to |
Beta Was this translation helpful? Give feedback.
-
|
Awesome!! Can you share your home-manager module as well.
Is it something like this:
{ config, pkgs, ... }:{ home.username = "yourusername";
home.homeDirectory = "/home/yourusername"; home.stateVersion =
"24.05"; # Adjust to match your NixOS version # Add caelestia-shell
and caelestia-cli to user packages home.packages = with pkgs; [
caelestia-shell caelestia-cli ]; # Define a systemd user service
for caelestia-shell systemd.user.services.caelestia-shell = {
description = "Caelestia Shell Service"; wantedBy = [
"default.target" ]; serviceConfig = { ExecStart =
"${pkgs.caelestia-shell}/bin/caelestia-shell"; # Adjust the binary
name if different Restart = "always"; }; };}
…On Sun, Aug 10, 2025 at 8:38 PM Davi Ribeiro ***@***.***> wrote:
This is how I add caelestia-shell to my nixpkgs, using an overlay:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
caelestia-shell = {
url = "github:caelestia-dots/shell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
caelestia-shell = inputs.caelestia-shell.packages.${system}.caelestia-shell;
caelestia-cli = inputs.caelestia-shell.inputs.caelestia-cli.packages.${system}.caelestia-cli;
})
];
};
in rec {
...
};
}
This uses the caelestia-cli from caelestia-shell dependency, instead of
doing the withShell approach in caelestia-cli where the shell can be
outdated because the inputs in the caelestia-cli were not updated.
in Home Manager, I use my own home manager module, which I pretend to
share when its done, but I add caelestia-shell and caelestia-cli to
home.packages and create a systemd user service
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKHL3EKICV4U4PHFXZ6EJJD3M7QWZAVCNFSM6AAAAACCOTFJHKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBWGY4TMOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
The entirety of the dots does not have a flake currently, however the shell and cli both have flakes that you can install. I recommend simply installing the cli with the
withShelloverride.For the rest of the configs, I recommend using something like hjem to symlink them into place