tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
feat: bluepill-proxy
devins.page
1 month ago
cf693026
fdaed9ec
+63
3 changed files
expand all
collapse all
unified
split
flake.nix
hosts
bluepill-proxy
default.nix
hardware.nix
+10
flake.nix
···
64
64
home-manager.nixosModules.home-manager
65
65
];
66
66
};
67
67
+
68
68
+
bluepill-proxy = nixpkgs.lib.nixosSystem {
69
69
+
modules = [
70
70
+
./modules/common
71
71
+
./modules/nixos
72
72
+
./hosts/bluepill-proxy
73
73
+
agenix.nixosModules.default
74
74
+
home-manager.nixosModules.home-manager
75
75
+
];
76
76
+
};
67
77
};
68
78
69
79
formatter = nixpkgs.lib.genAttrs ["aarch64-darwin" "x86_64-linux"] (system: nixpkgs.legacyPackages.${system}.alejandra);
+20
hosts/bluepill-proxy/default.nix
···
1
1
+
{pkgs, ...}: {
2
2
+
imports = [
3
3
+
./hardware.nix
4
4
+
];
5
5
+
6
6
+
networking.hostName = "bluepill-proxy";
7
7
+
networking.domain = "vps-6ad86777.vps.ovh.us";
8
8
+
9
9
+
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILyOJLlmq653uVs/1KdVnaMzi+EolB7EJMJ7AdBxVi6m devin@devins.page''];
10
10
+
users.users.devin.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILyOJLlmq653uVs/1KdVnaMzi+EolB7EJMJ7AdBxVi6m devin@devins.page''];
11
11
+
12
12
+
system.autoUpgrade = {
13
13
+
enable = true;
14
14
+
flake = "github:intergrav/flake";
15
15
+
flags = ["-L"];
16
16
+
dates = "04:40";
17
17
+
};
18
18
+
19
19
+
age.identityPaths = ["/etc/age.key"];
20
20
+
}
+33
hosts/bluepill-proxy/hardware.nix
···
1
1
+
# Do not modify this file! It was generated by ‘nixos-generate-config’
2
2
+
# and may be overwritten by future invocations. Please make changes
3
3
+
# to /etc/nixos/configuration.nix instead.
4
4
+
{
5
5
+
config,
6
6
+
lib,
7
7
+
pkgs,
8
8
+
modulesPath,
9
9
+
...
10
10
+
}: {
11
11
+
imports = [
12
12
+
(modulesPath + "/profiles/qemu-guest.nix")
13
13
+
];
14
14
+
15
15
+
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"];
16
16
+
boot.initrd.kernelModules = [];
17
17
+
boot.kernelModules = ["kvm-intel"];
18
18
+
boot.extraModulePackages = [];
19
19
+
20
20
+
fileSystems."/" = {
21
21
+
device = "/dev/disk/by-uuid/7657e475-328e-4851-8b39-f66dcc37b53b";
22
22
+
fsType = "ext4";
23
23
+
};
24
24
+
25
25
+
fileSystems."/efi" = {
26
26
+
device = "systemd-1";
27
27
+
fsType = "autofs";
28
28
+
};
29
29
+
30
30
+
swapDevices = [];
31
31
+
32
32
+
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
33
33
+
}