Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki committed Mar 27, 2024
1 parent 6a6aeb1 commit e7d3ef0
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 32 deletions.
6 changes: 6 additions & 0 deletions common/nixos-home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ let
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9keparNqpev2qrDO3cAiDzyTUsAAN9Mh+JLbOsdiZs";
in
{
imports = map (x: ../components + x) [
/android.nix
/databases.nix
/web.nix
];

programs.git.extraConfig = {
commit.gpgsign = true;
user.signingkey = publicKey;
Expand Down
5 changes: 1 addition & 4 deletions common/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@
etcher
firefox
killall
nodejs
nodePackages.pnpm
nvd
pkgs-unstable.android-studio
pkgs-unstable.discord
pkgs-unstable.jetbrains.rider
pkgs-unstable.jetbrains.datagrip
ruby
screen
slack
Expand Down
9 changes: 9 additions & 0 deletions components/android.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

{ pkgs, pkgs-unstable, ... }:

{
home.packages = with pkgs; [
android-tools
pkgs-unstable.android-studio
];
}
3 changes: 0 additions & 3 deletions components/cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

{
home.packages = with pkgs; [
android-tools
asciinema
bat
caddy
Expand All @@ -20,10 +19,8 @@
ocrmypdf
pdftk
pkgs-unstable.nixfmt-rfc-style
postgresql
ranger
ripgrep
sqlite
tesseract
tokei
units
Expand Down
3 changes: 2 additions & 1 deletion components/cpp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

{
home.packages = with pkgs; [
cmake
clang
cmake
jetbrains.clion
];

programs.vscode.extensions = with pkgs.vscode-extensions; [
Expand Down
6 changes: 6 additions & 0 deletions components/postgres.nix → components/databases.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{ pkgs, ... }:

{
home.packages = with pkgs; [
postgresql
sqlite
jetbrains.datagrip
];

home.file.".psqlrc".text = ''
\set ON_ERROR_ROLLBACK interactive
\set COMP_KEYWORD_CASE upper
Expand Down
16 changes: 8 additions & 8 deletions components/dotnet.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ pkgs, pkgs-unstable, ... }:

{
home.packages = [
(
with pkgs;
with dotnetCorePackages;
combinePackages [
home.packages =
with pkgs;
with dotnetCorePackages;
[
(combinePackages [
dotnet-sdk_6
dotnet-aspnetcore_6
dotnet-sdk_7
dotnet-aspnetcore_7
pkgs-unstable.dotnet-sdk_8
pkgs-unstable.dotnet-aspnetcore_8
]
)
];
])
pkgs-unstable.jetbrains.rider
];
}
10 changes: 0 additions & 10 deletions components/jetbrains.nix

This file was deleted.

2 changes: 2 additions & 0 deletions components/node.nix → components/web.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
home.packages = with pkgs; [
nodejs
yarn
nodePackages.pnpm
jetbrains.webstorm
];
}
2 changes: 0 additions & 2 deletions volt/common-home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
/git.nix
# /gnome.nix
/haskell.nix
/jetbrains.nix
/postgres.nix
/tex.nix
/tmux.nix
/typst.nix
Expand Down
2 changes: 0 additions & 2 deletions zephyr/common-home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
/git.nix
# /gnome.nix
/haskell.nix
/jetbrains.nix
/postgres.nix
/tex.nix
/tmux.nix
/typst.nix
Expand Down
2 changes: 0 additions & 2 deletions zephyr/home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
/git.nix
/gnome.nix
/haskell.nix
/jetbrains.nix
/node.nix
/tex.nix
/tmux.nix
/typst.nix
Expand Down

0 comments on commit e7d3ef0

Please sign in to comment.