Skip to content

Commit

Permalink
chore: update profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 31, 2023
1 parent 67fd636 commit af0cc94
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
5 changes: 4 additions & 1 deletion lib/mkHome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ in
home-manager.useUserPackages = lib.mkDefault true;

home-manager.users.${user} = {
imports = lib.flatten [ suites ];
imports = lib.flatten [
suites
{ programs.${shell}.enable = true; }
];
home.stateVersion =
if pkgs.stdenv.isDarwin then pkgs.lib.trivial.release else "23.11";
};
Expand Down
2 changes: 2 additions & 0 deletions templates/hivebus/nix/lib/exporter/flakeOutputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
super,
omnibus,
eachSystem,
flops,
projectDir,
}:
let
filterConfigs =
Expand Down
1 change: 1 addition & 0 deletions units/configs/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ with dmerge; {
nix = {
includes = [ "*.nix" ];
command = "nixfmt";
excludes = [ ];
};
prettier = {
command = "prettier";
Expand Down
5 changes: 5 additions & 0 deletions units/nixos/darwinProfiles/init.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ in
with presets; {
default = [
bootstrap
nix.default
{ omnibus.bootstrap.default = true; }
];
full = [
self.default
{ omnibus.bootstrap.full = true; }
];
}
6 changes: 6 additions & 0 deletions units/nixos/homeProfiles/presets/nushell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ config, ... }:
{
programs.nushell = {
enable = true;
};
}
1 change: 1 addition & 0 deletions units/nixos/homeProfiles/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ with presets; {
self.utils
# ------------------------------
zoxide
atuin
fzf
starship.default
dircolors.default
Expand Down
10 changes: 0 additions & 10 deletions units/nixos/nixosProfiles/presets/shell/nushell.nix

This file was deleted.

0 comments on commit af0cc94

Please sign in to comment.