flakes + telegram
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ! -d "/home/jpporta/ndots" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/jpporta/ndots")"
|
||||
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# rebuild the cache forcefully
|
||||
_nix_direnv_force_reload=1 direnv exec "/home/jpporta/ndots" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/jpporta/ndots/.envrc"
|
||||
|
||||
# Also update the timestamp of whatever profile_rc we have.
|
||||
# This makes sure that we know we are up to date.
|
||||
touch -r "/home/jpporta/ndots/.envrc" "/home/jpporta/ndots/.direnv"/*.rc
|
||||
@@ -0,0 +1 @@
|
||||
/nix/store/blxhj3hald69hzncgwjqsd95p7mhhy5r-nix-shell-env
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,12 +28,13 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs:
|
||||
inputs@{ self, nixpkgs, ... }:
|
||||
let
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
in
|
||||
{
|
||||
nixosConfigurations.jpporta-nixos = inputs.nixpkgs.lib.nixosSystem {
|
||||
@@ -61,5 +62,21 @@
|
||||
./hosts/writter-deck/home.nix
|
||||
];
|
||||
};
|
||||
|
||||
devShells = forAllSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
nixfmt
|
||||
nil # Nix LSP — your Neovim will pick it up via direnv
|
||||
statix # linter, optional
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -141,7 +141,6 @@
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
zip
|
||||
yarn
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true; # docker, buildx
|
||||
|
||||
@@ -112,10 +112,10 @@
|
||||
fastfetch
|
||||
nodejs
|
||||
firefox
|
||||
telegram-desktop
|
||||
];
|
||||
|
||||
programs = {
|
||||
nvm.enable = true;
|
||||
zen-browser.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
@@ -147,6 +147,10 @@
|
||||
];
|
||||
};
|
||||
gpg.enable = true;
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
custom.pinentry.enable = true;
|
||||
|
||||
@@ -37,7 +37,6 @@ in
|
||||
# nitch
|
||||
|
||||
# ---- editors & dev tooling ----
|
||||
tree
|
||||
ffmpeg
|
||||
chromium
|
||||
neovim
|
||||
@@ -68,15 +67,9 @@ in
|
||||
cargo
|
||||
php
|
||||
julia
|
||||
eslint_d
|
||||
golangci-lint
|
||||
rust-analyzer
|
||||
imagemagick
|
||||
ghostscript
|
||||
ripgrep
|
||||
gopls
|
||||
typescript-language-server
|
||||
nixfmt
|
||||
|
||||
# ---- cloud / infra ----
|
||||
awscli2
|
||||
|
||||
Reference in New Issue
Block a user