Compare commits
2
Commits
d4c2b37d46
...
32facdd02d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32facdd02d
|
||
|
|
9d842e34cc
|
@@ -1 +1,2 @@
|
||||
.worktrees/
|
||||
/.direnv
|
||||
|
||||
@@ -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