Compare commits
No commits in common. "d0ee7b139cc9073244576010129d949d2f13e0da" and "aa507c081404d2af5883be73babac8a6543297af" have entirely different histories.
d0ee7b139c
...
aa507c0814
4 changed files with 4 additions and 19 deletions
|
@ -1,3 +1,2 @@
|
||||||
https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/6
|
https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/6
|
||||||
|
|
||||||
`nix run nix-darwin -- switch --flake '.#cushy'`
|
|
||||||
|
|
|
@ -21,12 +21,6 @@ in {
|
||||||
inherit config;
|
inherit config;
|
||||||
cyplo.username = username;
|
cyplo.username = username;
|
||||||
})
|
})
|
||||||
(import ../../helix {
|
|
||||||
inherit pkgs;
|
|
||||||
inherit lib;
|
|
||||||
inherit config;
|
|
||||||
cyplo.username = username;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -2,16 +2,8 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
cyplo,
|
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
let
|
|
||||||
username =
|
|
||||||
if cyplo ? username
|
|
||||||
then "${cyplo.username}"
|
|
||||||
else "cyryl";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
trusted-substituters = [
|
trusted-substituters = [
|
||||||
"https://helix.cachix.org"
|
"https://helix.cachix.org"
|
||||||
|
@ -20,5 +12,5 @@ in
|
||||||
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home-manager.users."${username}" = {...}: {imports = [./home.nix];};
|
home-manager.users.cyryl = {...}: {imports = [./home.nix];};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,8 @@ in {
|
||||||
VISUAL = lib.mkForce helix;
|
VISUAL = lib.mkForce helix;
|
||||||
};
|
};
|
||||||
programs.zsh.sessionVariables = {
|
programs.zsh.sessionVariables = {
|
||||||
EDITOR = helix;
|
EDITOR = lib.mkForce helix;
|
||||||
VISUAL = helix;
|
VISUAL = lib.mkForce helix;
|
||||||
};
|
};
|
||||||
systemd.user.sessionVariables = {
|
systemd.user.sessionVariables = {
|
||||||
EDITOR = lib.mkForce helix;
|
EDITOR = lib.mkForce helix;
|
||||||
|
|
Loading…
Reference in a new issue