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

Add cube host

This commit is contained in:
RGBCube 2023-12-30 21:38:27 +03:00
parent 26b3c2ce92
commit 140e5dcd64
No known key found for this signature in database
16 changed files with 133 additions and 32 deletions

View file

@ -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;
}

View file

@ -0,0 +1,7 @@
{ ulib, ... }: with ulib;
systemConfiguration {
services.endlessh = enabled {
openFirewall = true;
};
}

View file

@ -0,0 +1,5 @@
{ ulib, pkgs, ... }: with ulib;
systemConfiguration {
boot.kernelPackages = pkgs.linuxPackages_latest;
}

View file

@ -1,9 +0,0 @@
{ ulib, theme, ... }: with ulib;
systemConfiguration {
services.kmscon = enabled {
extraConfig = "xkb-layout=tr";
fonts = [ theme.font.mono ];
hwRender = true;
};
}

View file

@ -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";

View 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;
};
};
}

View file

@ -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
]))

View file

@ -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";

View file

@ -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
View file

@ -0,0 +1,5 @@
{ ulib, ... }: with ulib;
systemConfiguration {
boot.tmp.cleanOnBoot = true;
}