forked from Shinonome/omarchy-nix
package organization
This commit is contained in:
+5
-1
@@ -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.";
|
||||
|
||||
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user