mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
chore: use meta module
This commit is contained in:
parent
b6480b72ec
commit
c451c08f94
11 changed files with 171 additions and 8 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -8,6 +13,22 @@
|
|||
./home-julien.nix
|
||||
];
|
||||
|
||||
machine.meta = {
|
||||
arch = "x86_64-linux";
|
||||
nixpkgs_version = inputs.nixpkgs;
|
||||
hm_version = inputs.home-manager;
|
||||
ipv4 = {
|
||||
public = "82.67.34.230";
|
||||
local = "192.168.0.101";
|
||||
vpn = "100.100.45.28";
|
||||
};
|
||||
ipv6 = {
|
||||
public = "2a01:e0a:de4:a0e1:95c9:b2e2:e999:1a45";
|
||||
vpn = "fd7a:115c:a1e0::1c";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.loader.grub.useOSProber = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue