This commit is contained in:
iFargle 2023-07-01 17:01:10 +09:00
parent 94568f983e
commit d9422401b4

View file

@ -20,7 +20,7 @@
outputs = { nixpkgs, home-manager, lanzaboote, ... }: outputs = { nixpkgs, home-manager, lanzaboote, ... }:
let let
hostname = "nixos-laptop"; hostname = "ddd";
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
@ -49,10 +49,9 @@
}; };
# NixOS Configuration files: # NixOS Configuration files:
networking.hostname = "${hostname}";
nixosConfigurations = { nixosConfigurations = {
# Declare the configuration for "nixos-laptop": # Declare the configuration for my laptop
nixos-laptop = lib.nixosSystem { nixos-p1 = lib.nixosSystem {
inherit system hostname; inherit system hostname;
modules = [ modules = [
# Hardware Configuration # Hardware Configuration
@ -72,7 +71,7 @@
]; # modules ]; # modules
}; # lib.nixosSystem - nixos-laptop }; # lib.nixosSystem - nixos-laptop
# Declare the configuration for "nixos-p1", my laptop: # Declare the configuration for my desktop
nixos-desktop = lib.nixosSystem { nixos-desktop = lib.nixosSystem {
inherit system hostname; inherit system hostname;
modules = [ modules = [