Rename rock5b
to sisko
This commit is contained in:
parent
55835d1367
commit
adaa788a94
24 changed files with 249 additions and 319 deletions
|
@ -1,9 +1,6 @@
|
|||
{
|
||||
fleetFlake,
|
||||
fleetModules,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
|
@ -34,8 +31,6 @@
|
|||
|
||||
ccr.enable = true;
|
||||
|
||||
networking.firewall.enable = lib.mkForce false;
|
||||
|
||||
services.rock5b-fan-control.enable = true;
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
@ -75,40 +70,6 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# kodi-rock5b
|
||||
cifs-utils
|
||||
];
|
||||
|
||||
# users.extraUsers.kodi = {
|
||||
# isNormalUser = true;
|
||||
# uid = 1002;
|
||||
# extraGroups = ["video" "input"];
|
||||
# };
|
||||
|
||||
# networking.firewall.allowedTCPPorts = [
|
||||
# 8080 # kodi control
|
||||
# 80
|
||||
# ];
|
||||
|
||||
# programs.bash.loginShellInit = ''
|
||||
# [[ "$(tty)" == '/dev/tty1' ]] && \
|
||||
# [[ "$(whoami)" == 'kodi' ]] && \
|
||||
# ${pkgs.kodi-rock5b}/bin/kodi-standalone
|
||||
|
||||
# '';
|
||||
|
||||
# Waiting for https://github.com/NixOS/nixpkgs/issues/140304
|
||||
# services.getty = let
|
||||
# script = pkgs.writeText "login-program.sh" ''
|
||||
# if [[ "$(tty)" == '/dev/tty1' ]]; then
|
||||
# ${pkgs.shadow}/bin/login -f kodi;
|
||||
# else
|
||||
# ${pkgs.shadow}/bin/login;
|
||||
# fi
|
||||
# '';
|
||||
# in {
|
||||
# loginProgram = "${pkgs.bash}/bin/sh";
|
||||
# loginOptions = toString script;
|
||||
# extraArgs = ["--skip-login"];
|
||||
# };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue