remove old common, using new sub flakes and modules
This commit is contained in:
parent
741363b361
commit
303afdceb6
116 changed files with 156 additions and 7493 deletions
|
|
@ -28,16 +28,19 @@
|
|||
}@inputs:
|
||||
let
|
||||
configuration_name = "lio";
|
||||
system = "x86_64-linux";
|
||||
primaryUser = "josh";
|
||||
lib = nixpkgs.lib;
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"${configuration_name}" = (
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
upkgs = import inputs.nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
|
@ -114,14 +117,11 @@
|
|||
};
|
||||
|
||||
# System configuration
|
||||
system.stateVersion = "23.11";
|
||||
networking.hostName = configuration_name;
|
||||
programs.nh.flake = "/home/josh/.config/nixos-config/hosts/${config.networking.hostName}";
|
||||
programs.nh.flake = "/home/${primaryUser}/.config/nixos-config/hosts/${config.networking.hostName}";
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Users
|
||||
users.users = {
|
||||
josh = {
|
||||
"${primaryUser}" = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "password1";
|
||||
extraGroups = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue