Initial flake for lithium
This commit is contained in:
parent
24aac9708b
commit
9d1bd2941f
3 changed files with 20 additions and 1 deletions
16
flake.nix
Normal file
16
flake.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
description = "All system configurations for Vili Sinervä";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.05";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs }:
|
||||
{
|
||||
nixosConfigurations.lithium = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./hosts/lithium.nix ];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
system.stateVersion = 24.05;
|
||||
networking.hostName = "lithium";
|
||||
custom.home_wg_suffix = "3";
|
||||
|
||||
custom.home_wg_suffix = "3";
|
||||
system.autoUpgrade.allowReboot = lib.mkForce false;
|
||||
# boot.kernelParams = [ "resume_offset=39292928" ];
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
imports = [ /etc/nixos/hardware-configuration.nix ];
|
||||
|
||||
options.custom.gua_pref = lib.mkOption {
|
||||
type = with lib.types; nullOr (strMatching "^[0-9a-zA-Z:]+$");
|
||||
default = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue