Nixos installation #425
Replies: 4 comments 16 replies
-
I think the description of the manual installation works. It says On the other hand, I think the installation with Home Manager doesn't work now because it's not yet merged upstream (as it references nix-community/home-manager#3238). |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply! I have:
in my
before i get the normal prompt. BTW: No idea whether relevant, but I have
It's not picked up as in normal mode I still get '~' instead of '-- NORMAL __'. |
Beta Was this translation helpful? Give feedback.
-
Oh! I actually added to the Wiki about this last night without noticing this discussion. Here's what works for me. Note that I use Flake notation throughout, though it will probably also work without Flakes: NixOS# configuration.nix
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
blesh
];
} Note that I didn't use the
# ~/.bashrc
source "$(blesh-share)"/ble.sh --attach=none # does not work currently (this comment was here when I arrived and, for Chesterton's fence reasons, I have not removed it. I have not noticed anything not working)
...
[[ ! ${BLE_VERSION-} ]] || ble-attach Home Manager# home.nix
{pkgs, ...}: {
home.packages = with pkgs; [
blesh
];
programs.bash = {
enable = true;
bashrcExtra = ''
[[ $- == *i* ]] && source "$(blesh-share)"/ble.sh --noattach
...
[[ ! ${BLE_VERSION-} ]] || ble-attach
'';
};
} Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
I ended up rewriting the above home-manager solution, as it didn't work for me out-of-the-box. Posting here in case it helps someone else:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see some instructions how to install on Nixos but both manual and using home-manager seem to be 'in development' AFAICT. What is the best way to install currently on Nixos and what features am I missing out on?
Beta Was this translation helpful? Give feedback.
All reactions