remove old common, using new sub flakes and modules

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-21 23:48:27 -05:00
parent 741363b361
commit 303afdceb6
116 changed files with 156 additions and 7493 deletions

View file

@ -4,6 +4,8 @@
...
}:
{
system.stateVersion = "23.11";
hardware.enableAllFirmware = true;
# Connectivity

View file

@ -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 = [