blob: 6e0102cceeabb8aa5ce0365277f3ebb84590ece9 (
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
80
81
|
{
pkgs,
secrets,
self,
...
}:
{
imports = [
./hardware-configuration.nix
"${self}/modules/core"
"${self}/modules/options"
];
config = {
modules.nix.extend = false;
time.timeZone = "America/Los_Angeles";
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "us";
system.stateVersion = "24.05";
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
networking = {
hostName = "fina";
networkmanager.enable = true;
};
services = {
desktopManager.plasma6.enable = true;
printing.enable = true;
libinput.enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
xserver.xkb = {
layout = "us";
options = "caps:escape";
};
pipewire = {
enable = true;
pulse.enable = true;
};
openssh = {
enable = true;
settings.PermitRootLogin = "yes";
};
};
users.users = {
root.initialHashedPassword = secrets.initial_hashed_password;
ebisu = {
isNormalUser = true;
extraGroups = [ "wheel" ];
initialHashedPassword = secrets.initial_hashed_password;
};
};
environment.systemPackages = with pkgs; [
vim
wget
];
programs = {
mtr.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
};
}
|