Skip to content

Commit

Permalink
chore(modules/darwin): recompiling swift for the 9th time today
Browse files Browse the repository at this point in the history
  • Loading branch information
bddvlpr committed Aug 23, 2024
1 parent 0e98d8d commit 8c39527
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/darwin/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ in {
options.sysc.home-manager = {
enable = mkOption {
type = types.bool;
default = false;
default = true;
description = "Whether to enable home-manager.";
};
};
Expand Down
17 changes: 16 additions & 1 deletion modules/darwin/home-manager/users/bddvlpr.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
{outputs, ...}: {
{
outputs,
lib,
...
}: {
imports = with outputs.homeManagerModules; [
comma
dev
direnv
fish
fzf
git
gitui
gpg
helix
impermanence
mpv
starship
#steel
vscode
zsh
];

# Shim to disable persistence
home.persistence = lib.mkForce {};

home.stateVersion = "24.05";
}
11 changes: 9 additions & 2 deletions modules/home/helix/settings.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{config, ...}: {
{
config,
pkgs,
...
}: {
editor = {
scrolloff = 8;
line-number = "relative";
Expand All @@ -10,7 +14,10 @@
select = "block";
};

terminal.command = config.home.sessionVariables.TERMINAL;
terminal.command =
if pkgs.stdenv.isLinux
then config.home.sessionVariables.TERMINAL
else "/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal";

inline-diagnostics = {
cursor-line = "hint";
Expand Down

0 comments on commit 8c39527

Please sign in to comment.