blob: 148d826fb7d262c4a8825510ad9ca893cd67efe6 (
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
|
{ lib, inputs, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
] ++ (map (path: ../../modules/${path}) [
"core/global.nix"
"ssh.nix"
"compromyse.nix"
"git/user.nix"
"git/cgit.nix"
"git/timer-update-timestamps.nix"
# "git/timer-backup.nix"
]);
networking.hostName = "oxo";
boot.loader.grub = {
enable = true;
forceInstall = true;
device = "/dev/sda";
};
networking.firewall = {
enable = lib.mkForce true;
allowedTCPPorts = [ 80 443 22 ];
};
programs.fuse.userAllowOther = true;
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;
useUserPackages = true;
users = {
git = import ./git-home.nix;
compromyse = import ./home.nix;
};
};
}
|