1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Actually use crash

This commit is contained in:
RGBCube 2024-05-15 14:27:01 +03:00
parent a579c05f5d
commit eafa0569c5
No known key found for this signature in database
4 changed files with 31 additions and 3 deletions

21
flake.lock generated
View file

@ -41,6 +41,26 @@
"type": "gitlab"
}
},
"crash": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1715772335,
"narHash": "sha256-UJqH5daLJL9xWwMSUtxN+Fes3eGZZtcV+Vbj2am8+FY=",
"owner": "RGBCube",
"repo": "crash",
"rev": "d17a8c9d054d8404c94a1dff8356a36eea428698",
"type": "github"
},
"original": {
"owner": "RGBCube",
"repo": "crash",
"type": "github"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
@ -629,6 +649,7 @@
"root": {
"inputs": {
"ageNix": "ageNix",
"crash": "crash",
"fenix": "fenix",
"ghostty": "ghostty",
"ghosttyModule": "ghosttyModule",

View file

@ -63,7 +63,7 @@ in systemConfiguration {
};
};
services.openssh.settings.AcceptEnv = mkForce "COLORTERM GIT_PROTOCOL";
services.openssh.settings.AcceptEnv = mkForce "SHELLS COLOTERM GIT_PROTOCOL";
services.forgejo = enabled {
lfs = enabled;

View file

@ -1,7 +1,14 @@
{ config, lib, pkgs, ... }: with lib; merge
(systemConfiguration {
users.defaultUserShell = pkgs.nushellFull;
users.defaultUserShell = pkgs.crash;
environment.sessionVariables.SHELLS = pipe [
pkgs.nushellFull
pkgs.fish
] [
(map getExe)
(concatStringsSep ":")
];
environment.shellAliases = {
la = "ls --all";

View file

@ -68,7 +68,7 @@ in serverSystemConfiguration {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
AcceptEnv = "COLORTERM";
AcceptEnv = "SHELLS COLORTERM";
};
};
})