blob: 183935430d35735beb3f55212fffc0d5eac3bc46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
lib,
pkgs,
system,
libraries,
externalBinaries,
...
}: {
imports = [
./hardware.nix
];
soispha = {
bluetooth = {enable = true;};
networking = {
enable = true;
hostName = "tiamat";
mode = "systemd-networkd";
};
nixpkgs = {
enable = true;
systemName = "x86_64-linux";
};
# TODO: Hard-code all the uids/gids <2025-05-13>
impermanence.directories = [
"/var/lib/nixos"
"/var/log"
];
services = {
unison.foreign.address = "apzu.fritz.box";
};
programs = {
river = {
unicodeInput.enable = true;
init = {
mappings = {
layout = "us";
keymap = {
# Support Unicode input
"<Alt+Ctrl+Meta+Shift-Z>" = [
"spawn"
"${lib.getExe externalBinaries.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";
};
users = {
enable = true;
enableDeprecatedPlugdev = true;
hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6";
};
};
system.stateVersion = "23.05";
}
|