package organization

This commit is contained in:
Henry Sipp
2025-06-30 09:38:02 -05:00
parent 3aa32810b6
commit 127438c163
4 changed files with 22 additions and 14 deletions
+5 -1
View File
@@ -1,5 +1,10 @@
lib: {
omarchyOptions = {
hostname = lib.mkOption {
type = lib.types.str;
default = "omarchy";
description = "Hostname for the system";
};
full_name = lib.mkOption {
type = lib.types.str;
description = "Main user's full name";
@@ -21,7 +26,6 @@ lib: {
type = lib.types.attrs;
default = {};
};
quick_app_bindings = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = "A list of single keystroke key bindings to launch common apps.";
+1 -1
View File
@@ -3,6 +3,7 @@ inputs: {
pkgs,
...
}: let
cfg = config.omarchy;
packages = import ../packages.nix {inherit pkgs;};
in {
imports = [
@@ -12,5 +13,4 @@ in {
(import ./podman.nix)
];
environment.systemPackages = packages.systemPackages;
}
+11 -12
View File
@@ -3,17 +3,6 @@
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
git
vim
curl
wget
pamixer
playerctl
bibata-cursors
gnome-themes-extra
];
security.rtkit.enable = true;
services.pulseaudio.enable = false;
services.pipewire = {
@@ -23,10 +12,20 @@
jack.enable = true;
};
# Initial login experience
services.greetd = {
enable = true;
settings.default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
};
networking.networkmanager.enable = true;
# Install packages
environment.systemPackages = packages.systemPackages;
# Networking
services.resolved.enable = true;
networking = {
hostName = hostConfig.name;
networkmanager.enable = true;
};
# services.samba.enable = true;
}
+5
View File
@@ -2,6 +2,7 @@
# Regular packages
systemPackages = with pkgs; [
# Base system tools
git
vim
libnotify
@@ -13,6 +14,10 @@
hyprshot
hyprpicker
alejandra
pamixer
playerctl
bibata-cursors
gnome-themes-extra
# Shell tools
fzf