alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
machines.barnacle: more setup
author
lassulus
date
1 year ago
(Jun 5, 2025, 3:34 PM CEST)
commit
33917b4e
33917b4e5e595b0c4833e2326a7dc8ad27b4cf3a
parent
9bb593ab
9bb593ab7383bf56a9e6eaa82477caf5a554ed05
+25
-4
2 changed files
Expand all
Collapse all
Unified
Split
darwin
barnacle
config.nix
flake.nix
+1
flake.nix
View file
Reviewed
···
175
175
};
176
176
};
177
177
flake.darwinConfigurations.barnacle = inputs.nix-darwin.lib.darwinSystem {
178
178
+
specialArgs.self = self;
178
179
modules = [ ./darwin/barnacle/config.nix ];
179
180
};
180
181
flake.keys = {
+24
-4
darwin/barnacle/config.nix
View file
Reviewed
···
1
1
-
{ pkgs, ... }:
1
1
+
{ pkgs, self, ... }:
2
2
3
3
{
4
4
imports = [
5
5
# ./rosetta.nix
6
6
+
self.inputs.nix-index-database.darwinModules.nix-index
6
7
];
8
8
+
programs.nix-index-database.comma.enable = true;
7
9
8
10
nixpkgs.hostPlatform = "aarch64-darwin";
9
11
environment.systemPackages = [
10
10
-
pkgs.neovim
12
12
+
self.packages.${pkgs.system}.nvim
13
13
+
self.packages.${pkgs.system}.pass
14
14
+
self.packages.${pkgs.system}.passmenu
15
15
+
16
16
+
# zsh dependencies
17
17
+
pkgs.fzf
18
18
+
pkgs.atuin
19
19
+
20
20
+
pkgs.gnupg
11
21
pkgs.lazygit
12
22
pkgs.sshuttle
13
23
pkgs.git
24
24
+
pkgs.element-desktop
25
25
+
pkgs.iterm2
26
26
+
pkgs.firefox-devedition-bin
27
27
+
pkgs.ripgrep
28
28
+
pkgs.alt-tab-macos
14
29
];
15
30
16
31
# Use a custom configuration.nix location.
···
56
71
};
57
72
};
58
73
59
59
-
# nix.linux-builder.enable = true;
74
74
+
nix.linux-builder.enable = true;
60
75
61
76
# Create /etc/zshrc that loads the nix-darwin environment.
62
77
programs.zsh.enable = true; # default shell on catalina
63
63
-
# programs.fish.enable = true;
78
78
+
programs.zsh.shellInit = self.packages.${pkgs.system}.zsh.zshrc;
64
79
80
80
+
# enable sudo touch
81
81
+
security.pam.services.sudo_local.touchIdAuth = true;
82
82
+
83
83
+
# disable natural scrolling
84
84
+
system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = false;
65
85
programs.direnv.enable = true;
66
86
programs.nix-index.enable = true;
67
87
programs.gnupg.agent = {