blob: eabe18a287617bc46a46d931880debe6ebbc2aee (
plain)
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
|
{ config, lib, pkgs, inputs, ... }:
{
imports = [
./hardware.nix
./network.nix
../../core
../../roles
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.fuse.userAllowOther = true;
time.timeZone = "America/Los_Angeles";
users.users = {
root.hashedPasswordFile = "/secrets/passwords/root";
"c" = {
isNormalUser = true;
hashedPasswordFile = "/secrets/passwords/c";
extraGroups = [ "wheel" ];
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"c" = import ./home.nix;
};
};
programs = {
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
dconf.enable = true;
};
services = {
pcscd.enable = true;
printing.enable = true;
hardware.openrgb.enable = true;
};
environment.systemPackages = with pkgs; [
(writeShellScriptBin "toys" "nix-shell -p cmatrix asciiquarium pipes cowsay figlet neofetch")
firefox
wineWowPackages.stable
winetricks
ffmpeg
jellyfin
go
jdk21
lutris
libGL
];
system.stateVersion = "23.11";
}
|