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";
|
description = "NixOS System Config";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
@ -16,8 +20,8 @@
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, lanzaboote, ... }:
|
outputs = { nixpkgs, home-manager, lanzaboote, ... }:
|
||||||
let
|
let
|
||||||
|
hostname = "nixos-laptop";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
hostname = "nixos-p1";
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
# Tells Flake what OS version we are using
|
# Tells Flake what OS version we are using
|
||||||
inherit system;
|
inherit system;
|
||||||
|
@ -33,22 +37,14 @@
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
username = "albert";
|
username = "albert";
|
||||||
homeDirectory = "/home/albert";
|
homeDirectory = "/home/albert";
|
||||||
configuration = {
|
configuration.imports = [ ./users/albert/home.nix ];
|
||||||
imports = [
|
|
||||||
./users/albert/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
# Configuration for user "root"
|
# Configuration for user "root"
|
||||||
root = home-manager.lib.homeManagerConfiguration {
|
root = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
username = "root";
|
username = "root";
|
||||||
homeDirectory = "/root";
|
homeDirectory = "/root";
|
||||||
configuration = {
|
configuration.imports = [ ./users/rootd/home.nix ];
|
||||||
imports = [
|
|
||||||
./users/root/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue