blob: 4464011ea97a2aedeebe9660c9201713c712a930 (
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
|
# 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,
baseLib,
...
}: {
imports = [
./hardware.nix
];
soispha = {
bluetooth.enable = true;
laptop = {
backlight = "intel_backlight";
enable = true;
};
# TODO: Hard-code all the uids/gids <2025-05-13>
impermanence.directories = [
"/var/lib/nixos"
"/var/log"
];
programs = {
yambar = {
laptop = true;
backlight = "intel_backlight";
};
river.init = {
mappings = {
layout = "dvorak-modified";
};
screenSetupCode = {};
};
};
locale.enable = true;
networking = {
enable = true;
hostName = "apzu";
mode = "NetworkManager";
};
services.unison.foreign.address = "tiamat.fritz.box";
nixpkgs = {
enable = true;
systemName = "x86_64-linux";
};
users = {
enable = true;
enableDeprecatedPlugdev = true;
hashedPassword = "$y$jFT$3qI9MYLDHPUdGKsVa8skV0$TOjX0SFHWuj52zd7/kmkNtG5EqQwYcqv0FKXWbLaro6";
};
};
system.stateVersion = "23.05";
}
|