Reinitialized repo after massive overhaul

This commit is contained in:
2024-10-02 14:24:37 -05:00
parent 319e79bcd2
commit a501308ce9
45 changed files with 156 additions and 290 deletions

View File

@@ -4,14 +4,24 @@
inputs = {
sddm.url = "./sddm";
services.url = "./services";
packages.url = "./packages";
programs.url = "./programs";
};
outputs = { self, sddm, ... }@inputs: {
outputs = { self, ... }@inputs: {
nixosModule = { config, lib, pkgs, inputs, ... }: {
nixosModule = { config, lib, pkgs, core_inputs, ... }: {
imports = [
./configuration/configuration.nix
sddm.module
inputs.sddm.module
inputs.services.module
inputs.packages.module
inputs.programs.module
];
};

21
system/packages/external/flake.nix vendored Normal file
View File

@@ -0,0 +1,21 @@
{
description = "System External Flakes";
inputs = {
waveforms.url = "github:liff/waveforms-flake";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
imports = [
inputs.waveforms.nixosModule
];
};
};
}

17
system/packages/flake.nix Normal file
View File

@@ -0,0 +1,17 @@
{
description = "System packages";
inputs = {
external.url = "./external";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
imports = [
inputs.external.module
];
};
};
}

View File

@@ -0,0 +1,12 @@
{
description = "System scripts";
inputs = {
};
outputs = { self, ... }: {
module = { config, lib, pkgs, ... }: {};
};
}

View File

@@ -0,0 +1,19 @@
{
description = "ags dependancies";
inputs = {
};
outputs = { self, ... }: {
module = { config, lib, pkgs, ... }: {
services = {
upower.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = true;
};
};
};
}

22
system/programs/flake.nix Normal file
View File

@@ -0,0 +1,22 @@
{
description = "System program config";
inputs = {
ags.url = "./ags";
hyprland.url = "./hyprland";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
imports = [
inputs.hyprland.module
inputs.ags.module
];
};
};
}

View File

@@ -0,0 +1,25 @@
{
description = "Hyprland Config";
inputs = {
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
programs.hyprland = {
enable = true;
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
};
};
}

19
system/services/flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "System service config";
inputs = {
ollama.url = "./ollama";
};
outputs = { self, ... }@inputs: {
module = { config, lib, pkgs, ... }: {
imports = [
inputs.ollama.module
];
};
};
}

View File

@@ -0,0 +1,12 @@
{
description = "ollama config";
inputs = {
};
outputs = { self, ... }: {
module = import ./ollama.nix;
};
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }: {
services.ollama = {
enable = true;
acceleration = "cuda";
};
}