Satori: misc changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-05-30 16:05:26 +05:30
parent 423c2236b7
commit a66daf3ac6
15 changed files with 163 additions and 159 deletions

View File

@@ -6,7 +6,7 @@
wireless.enable = true;
wireless.interfaces = [ "wlp0s20f3" ];
firewall = {
allowedTCPPorts = [ 22 18172 6600 8000 ];
allowedTCPPorts = [ 22 18172 6600 8001 ];
allowedUDPPorts = [ 22 17840 18172 ];
};
interfaces = {

View File

@@ -10,7 +10,6 @@
substituters = [
"https://nix-gaming.cachix.org"
"https://nix-community.cachix.org"
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
];
trusted-public-keys = [
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="

View File

@@ -5,13 +5,13 @@
w3m
tmux
bc
ghc
gnumake
pciutils
ntfs3g
python3
htop
nodejs
ghc
wget
ripgrep
kbd
@@ -24,15 +24,8 @@
docker-compose
nodePackages.typescript
rust-bin.nightly.latest.default
#language servers
rust-analyzer
ccls
clang-tools
nodePackages.typescript-language-server
nodePackages.vscode-langservers-extracted
rnix-lsp
python3Packages.python-lsp-server
haskell-language-server
vulkan-tools
vulkan-headers
msr-tools

View File

@@ -3,11 +3,12 @@
{
services = {
tor.enable = true;
logmein-hamachi.enable = true;
logmein-hamachi.enable = false;
openssh = {
enable = true;
permitRootLogin = "yes";
};
btrfs.autoScrub.enable = true;
udev.extraRules = ''
ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"

View File

@@ -43,7 +43,8 @@
font-awesome
monoid
office-code-pro
noto-fonts-cjk
hanazono
# noto-fonts-cjk
];
users.users.natto = {
isNormalUser = true;