# nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of my nixos-config. # # You should have received a copy of the License along with this program. # If not, see . { lib, system, sources, ... }: { imports = [ ./hardware.nix ../../../modules/common/soispha ]; vhack = { # TODO: Hard-code all the uids/gids <2025-05-13> persist.directories = [ "/var/lib/nixos" ]; users = { enable = true; users = [ { name = "soispha"; groups = ["wheel" "audio"]; enableDeprecatedPlugdev = true; uid = 1000; sshKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIME4ZVa+IoZf6T3U08JG93i6QIAJ4amm7mkBzO14JSkz"; hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6"; } ]; }; }; soispha = { bluetooth = {enable = true;}; networking = { enable = true; hostName = "tiamat"; mode = "systemd-networkd"; }; nixpkgs = { enable = true; systemName = "x86_64-linux"; }; services = { unison.foreign.address = "apzu.fritz.box"; }; programs = { river = { unicodeInput.enable = true; init = { mappings = { layout = "us"; keymap = { # Support Unicode input "" = [ "spawn" "${lib.getExe sources.qmk_firmware.packages.${system}.qmk_unicode_type} 106 65377" ]; }; }; screenSetupCode = { "DP-2" = {pos = "2560,0";}; "DP-1" = { scale = "1.5"; pos = "0,0"; }; }; }; }; }; locale = { enable = true; keyMap = "us"; }; }; system.stateVersion = "23.05"; }