This commit is contained in:
iFargle 2023-07-01 17:02:43 +09:00
parent 0e1e7a6b6b
commit 2db8b91ace

View file

@ -20,7 +20,7 @@
outputs = { nixpkgs, home-manager, lanzaboote, ... }: outputs = { nixpkgs, home-manager, lanzaboote, ... }:
let let
hostname = "ddd"; hostname = "nixos-laptop";
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
# Tells Flake what OS version we are using # Tells Flake what OS version we are using
@ -52,7 +52,7 @@
nixosConfigurations = { nixosConfigurations = {
# Declare the configuration for my laptop # Declare the configuration for my laptop
nixos-p1 = lib.nixosSystem { nixos-p1 = lib.nixosSystem {
inherit system; inherit system hostname;
modules = [ modules = [
# Hardware Configuration # Hardware Configuration
./hardware/lenovo-p1.nix ./hardware/lenovo-p1.nix
@ -73,7 +73,7 @@
# Declare the configuration for my desktop # Declare the configuration for my desktop
nixos-desktop = lib.nixosSystem { nixos-desktop = lib.nixosSystem {
inherit system; inherit system hostname;
modules = [ modules = [
# Hardware Configuration # Hardware Configuration
./hardware/desktop.nix ./hardware/desktop.nix