Reinitialized repo after massive overhaul
This commit is contained in:
@@ -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
21
system/packages/external/flake.nix
vendored
Normal 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
17
system/packages/flake.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
description = "System packages";
|
||||
|
||||
inputs = {
|
||||
external.url = "./external";
|
||||
};
|
||||
|
||||
outputs = { self, ... }@inputs: {
|
||||
|
||||
module = { config, lib, pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.external.module
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
12
system/packages/scripts/flake.nix
Normal file
12
system/packages/scripts/flake.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
description = "System scripts";
|
||||
|
||||
inputs = {
|
||||
};
|
||||
|
||||
outputs = { self, ... }: {
|
||||
|
||||
module = { config, lib, pkgs, ... }: {};
|
||||
|
||||
};
|
||||
}
|
||||
19
system/programs/ags/flake.nix
Normal file
19
system/programs/ags/flake.nix
Normal 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
22
system/programs/flake.nix
Normal 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
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
25
system/programs/hyprland/flake.nix
Normal file
25
system/programs/hyprland/flake.nix
Normal 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
19
system/services/flake.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
description = "System service config";
|
||||
|
||||
inputs = {
|
||||
|
||||
ollama.url = "./ollama";
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, ... }@inputs: {
|
||||
|
||||
module = { config, lib, pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.ollama.module
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
12
system/services/ollama/flake.nix
Normal file
12
system/services/ollama/flake.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
description = "ollama config";
|
||||
|
||||
inputs = {
|
||||
};
|
||||
|
||||
outputs = { self, ... }: {
|
||||
|
||||
module = import ./ollama.nix;
|
||||
|
||||
};
|
||||
}
|
||||
7
system/services/ollama/ollama.nix
Normal file
7
system/services/ollama/ollama.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user