From 5d01516e81cf8d69506fa60c32405296ed817ed0 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 1 Jul 2023 16:54:42 +0900 Subject: [PATCH] Update --- flake.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 912fdd62..458548f5 100644 --- a/flake.nix +++ b/flake.nix @@ -1,4 +1,8 @@ { + + # INFORMATION + # When building for a system, remember to change the hostname variable below + description = "NixOS System Config"; inputs = { @@ -16,8 +20,8 @@ outputs = { nixpkgs, home-manager, lanzaboote, ... }: let + hostname = "nixos-laptop"; system = "x86_64-linux"; - hostname = "nixos-p1"; pkgs = import nixpkgs { # Tells Flake what OS version we are using inherit system; @@ -33,22 +37,14 @@ inherit system pkgs; username = "albert"; homeDirectory = "/home/albert"; - configuration = { - imports = [ - ./users/albert/home.nix - ]; - }; + configuration.imports = [ ./users/albert/home.nix ]; }; # Configuration for user "root" root = home-manager.lib.homeManagerConfiguration { inherit system pkgs; username = "root"; homeDirectory = "/root"; - configuration = { - imports = [ - ./users/root/home.nix - ]; - }; + configuration.imports = [ ./users/rootd/home.nix ]; }; };