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: { lib: {
omarchyOptions = { omarchyOptions = {
hostname = lib.mkOption {
type = lib.types.str;
default = "omarchy";
description = "Hostname for the system";
};
full_name = lib.mkOption { full_name = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "Main user's full name"; description = "Main user's full name";
@@ -21,7 +26,6 @@ lib: {
type = lib.types.attrs; type = lib.types.attrs;
default = {}; default = {};
}; };
quick_app_bindings = lib.mkOption { quick_app_bindings = lib.mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;
description = "A list of single keystroke key bindings to launch common apps."; description = "A list of single keystroke key bindings to launch common apps.";
+1 -1
View File
@@ -3,6 +3,7 @@ inputs: {
pkgs, pkgs,
... ...
}: let }: let
cfg = config.omarchy;
packages = import ../packages.nix {inherit pkgs;}; packages = import ../packages.nix {inherit pkgs;};
in { in {
imports = [ imports = [
@@ -12,5 +13,4 @@ in {
(import ./podman.nix) (import ./podman.nix)
]; ];
environment.systemPackages = packages.systemPackages;
} }
+11 -12
View File
@@ -3,17 +3,6 @@
pkgs, pkgs,
... ...
}: { }: {
environment.systemPackages = with pkgs; [
git
vim
curl
wget
pamixer
playerctl
bibata-cursors
gnome-themes-extra
];
security.rtkit.enable = true; security.rtkit.enable = true;
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
@@ -23,10 +12,20 @@
jack.enable = true; jack.enable = true;
}; };
# Initial login experience
services.greetd = { services.greetd = {
enable = true; enable = true;
settings.default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; 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 # Regular packages
systemPackages = with pkgs; [ systemPackages = with pkgs; [
# Base system tools # Base system tools
git git
vim vim
libnotify libnotify
@@ -13,6 +14,10 @@
hyprshot hyprshot
hyprpicker hyprpicker
alejandra alejandra
pamixer
playerctl
bibata-cursors
gnome-themes-extra
# Shell tools # Shell tools
fzf fzf