forked from Shinonome/omarchy-nix
Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{...}: {
|
||||
programs = {
|
||||
_1password.enable = true;
|
||||
_1password-gui.enable = true;
|
||||
|
||||
# TODO: Dynamically get user names
|
||||
_1password-gui.polkitPolicyOwners = ["henry"];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
inputs: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
packages = import ../packages.nix {inherit pkgs;};
|
||||
in {
|
||||
imports = [
|
||||
(import ./hyprland.nix inputs)
|
||||
(import ./system.nix)
|
||||
(import ./1password.nix)
|
||||
];
|
||||
|
||||
environment.systemPackages = packages.systemPackages;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
inputs: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
config.common.default = "*";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
config,
|
||||
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 = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings.default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user