Compare commits

...

5 Commits
main ... ttyd

Author SHA1 Message Date
chn
8924f88901 pc: enable ttyd 2024-02-04 22:46:16 +08:00
chn
a07800192d system.gurb: fix efishell 2024-02-04 11:37:36 +08:00
chn
13b0c77e7a do not archive 2024-02-04 11:13:34 +08:00
chn
43e8215fc6 Merge branch 'main' into production 2024-02-03 20:52:43 +08:00
chn
21e8b5300a switch to production 2024-02-03 20:49:59 +08:00
5 changed files with 12 additions and 6 deletions

View File

@@ -144,5 +144,11 @@ inputs:
};
virtualisation.virtualbox.host = { enable = true; enableExtensionPack = true; };
hardware.nvidia.forceFullCompositionPipeline = true;
services.ttyd =
{
enable = true;
username = "ttyd";
passwordFile = inputs.pkgs.writeText "ttydpw" "0000";
};
};
}

6
flake.lock generated
View File

@@ -1429,11 +1429,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1706959166,
"narHash": "sha256-vEbBSmakksQN+Ho7FHDWeoTpfOZRthhOWOysYD9nf5g=",
"lastModified": 1707017659,
"narHash": "sha256-FZ3Q2WARF/hF9xvNvHnpg0fw7R8XdgvNMhb24ZYUQwc=",
"owner": "CHN-beta",
"repo": "nixpkgs",
"rev": "910dd75760e1fea2a6e78d567adc7f1a7c309038",
"rev": "aa42cddc25be43252a175c369ad07aafc38db2a1",
"type": "github"
},
"original": {

View File

@@ -144,6 +144,6 @@
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
overlays.default = final: prev:
{ localPackages = (import ./local/pkgs { inherit (inputs) lib; pkgs = final; }); };
config.production = false;
config.archive = false;
};
}

View File

@@ -72,7 +72,7 @@ inputs:
menuentry "UEFI Shell" {
insmod fat
insmod chain
chainloader /shell.efi
chainloader @bootRoot@/shell.efi
}
''
)

View File

@@ -4,7 +4,7 @@ inputs:
{
# marches allowed to be compiled on this machine
marches = mkOption { type = types.nullOr (types.listOf types.nonEmptyStr); default = null; };
includeBuildDependencies = mkOption { type = types.bool; default = inputs.topInputs.self.config.production; };
includeBuildDependencies = mkOption { type = types.bool; default = inputs.topInputs.self.config.archive; };
substituters = mkOption { type = types.nullOr (types.listOf types.nonEmptyStr); default = null; };
autoOptimiseStore = mkOption { type = types.bool; default = false; };
};