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, ... }:
let
hostname = "nixos-laptop";
hostname = "ddd";
system = "x86_64-linux";
pkgs = import nixpkgs {
# Tells Flake what OS version we are using
@ -49,10 +49,9 @@
};
# NixOS Configuration files:
networking.hostname = "${hostname}";
nixosConfigurations = {
# Declare the configuration for "nixos-laptop":
nixos-laptop = lib.nixosSystem {
# Declare the configuration for my laptop
nixos-p1 = lib.nixosSystem {
inherit system hostname;
modules = [
# Hardware Configuration
@ -72,7 +71,7 @@
]; # modules
}; # lib.nixosSystem - nixos-laptop
# Declare the configuration for "nixos-p1", my laptop:
# Declare the configuration for my desktop
nixos-desktop = lib.nixosSystem {
inherit system hostname;
modules = [