This commit is contained in:
iFargle 2023-07-01 16:54:42 +09:00
parent 922699d16a
commit 5d01516e81

View file

@ -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 ];
};
};