diff options
author | Karel Kočí <cynerd@email.cz> | 2022-04-09 18:54:00 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-04-12 21:48:06 +0200 |
commit | b1bd3d7b5cf5d2dfb94493bb73140e6d8210f401 (patch) | |
tree | 70f840066e93bea2058a0a79e618dc0337a4c724 /medkit-configuration.nix | |
parent | fb73330d0ccdc50c79a8fe0675c51022ee64b367 (diff) | |
download | nixturris-b1bd3d7b5cf5d2dfb94493bb73140e6d8210f401.tar.gz nixturris-b1bd3d7b5cf5d2dfb94493bb73140e6d8210f401.tar.bz2 nixturris-b1bd3d7b5cf5d2dfb94493bb73140e6d8210f401.zip |
Refactor Mox support
Diffstat (limited to 'medkit-configuration.nix')
-rw-r--r-- | medkit-configuration.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/medkit-configuration.nix b/medkit-configuration.nix deleted file mode 100644 index cb287b1..0000000 --- a/medkit-configuration.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ config, lib, pkgs, ... }: { - boot.loader.grub.enable = false; - boot.loader.generic-extlinux-compatible.enable = true; - boot.kernelParams = [ - "earlyprintk" "console=ttyMV0,115200" "earlycon=ar3700_uart,0xd0012000" - "boot.shell_on_fail" - ]; - boot.kernelPackages = pkgs.linuxPackages_latest; - boot.supportedFilesystems = [ "btrfs" "vfat" "ntfs" ]; - - zramSwap = { - enable = true; - memoryPercent = 100; - }; - swapDevices = [{ - device = "/dev/mmcblk1p2"; - priority = 0; - }]; - - fileSystems = { - "/" = { - device = "/dev/mmcblk1p1"; - fsType = "btrfs"; - }; - }; - - networking.hostName = "nixturris"; - - i18n.supportedLocales = ["en_US.UTF-8/UTF-8" "cs_CZ.UTF-8/UTF-8"]; - nix = { - package = pkgs.nixFlakes; - extraOptions = "experimental-features = nix-command flakes"; - }; - - programs.vim.defaultEditor = true; - - #services.sentinel.enable = true; - - services.openssh = { - enable = true; - passwordAuthentication = true; - permitRootLogin = "yes"; - }; - - environment.systemPackages = with pkgs; [ - nixos-option - htop - ]; - - users = { - mutableUsers = false; - users.root.password = "nixturris"; - }; - -} |