Update
This commit is contained in:
parent
922699d16a
commit
5d01516e81
1 changed files with 7 additions and 11 deletions
18
flake.nix
18
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 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue