mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Add cube host
This commit is contained in:
parent
26b3c2ce92
commit
140e5dcd64
16 changed files with 133 additions and 32 deletions
|
@ -1,13 +1,9 @@
|
|||
{ ulib, pkgs, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
boot.loader = {
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
systemd-boot.editor = false;
|
||||
};
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
}
|
||||
|
|
7
modules/endlessh/default.nix
Normal file
7
modules/endlessh/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ulib, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
services.endlessh = enabled {
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
5
modules/kernel/default.nix
Normal file
5
modules/kernel/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ ulib, pkgs, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{ ulib, theme, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
services.kmscon = enabled {
|
||||
extraConfig = "xkb-layout=tr";
|
||||
fonts = [ theme.font.mono ];
|
||||
hwRender = true;
|
||||
};
|
||||
}
|
|
@ -1,10 +1,8 @@
|
|||
{ ulib, ... }: with ulib;
|
||||
{ lib, ulib, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
console.keyMap = "trq";
|
||||
|
||||
time.timeZone = "Europe/Istanbul";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.extraLocaleSettings = let
|
||||
locale = "tr_TR.UTF-8";
|
||||
|
|
11
modules/openssh/default.nix
Normal file
11
modules/openssh/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, ulib, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
services.openssh = enabled {
|
||||
ports = if config.services.endlessh.enable then [ 2222 ] else [ 22 ];
|
||||
settings = {
|
||||
KbdInteractiveAuthentication = false;
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
{ ulib, pkgs, upkgs, ... }: with ulib; merge
|
||||
|
||||
(systemPackages (with pkgs; [
|
||||
asciinema
|
||||
fastfetch
|
||||
fd
|
||||
hyperfine
|
||||
moreutils
|
||||
nix-index
|
||||
nix-output-monitor
|
||||
p7zip
|
||||
pstree
|
||||
strace
|
||||
timg
|
||||
tree
|
||||
usbutils
|
||||
yt-dlp
|
||||
|
||||
wine
|
||||
|
||||
clang_16
|
||||
clang-tools_16
|
||||
gh
|
||||
go
|
||||
jdk
|
||||
lld
|
||||
maven
|
||||
upkgs.zig
|
||||
vlang
|
||||
]))
|
||||
|
||||
(graphicalPackages (with pkgs; [
|
||||
qbittorrent
|
||||
thunderbird
|
||||
whatsapp-for-linux
|
||||
xfce.thunar
|
||||
|
||||
krita
|
||||
obs-studio
|
||||
|
||||
libreoffice
|
||||
hunspellDicts.en_US
|
||||
hunspellDicts.en_GB-ize
|
||||
]))
|
|
@ -4,6 +4,13 @@ homeConfiguration {
|
|||
programs.ssh = enabled {
|
||||
matchBlocks."*".setEnv.TERM = "xterm-kitty";
|
||||
|
||||
matchBlocks.cube = {
|
||||
hostname = "5.255.78.70";
|
||||
user = "nixos";
|
||||
port = 22;
|
||||
identityFile = "~/.ssh/id_rsa";
|
||||
};
|
||||
|
||||
matchBlocks.robotic = {
|
||||
hostname = "86.105.252.189";
|
||||
user = "rgbcube";
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{ ulib, pkgs, ... }: with ulib; merge
|
||||
|
||||
(systemPackages (with pkgs; [
|
||||
steck
|
||||
]))
|
||||
|
||||
(homeConfiguration {
|
||||
programs.nushell.shellAliases.share = "steck paste";
|
||||
})
|
5
modules/tmp/default.nix
Normal file
5
modules/tmp/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ ulib, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue