mirror of
https://github.com/henrysipp/omarchy-nix.git
synced 2026-06-11 12:39:26 -05:00
Format project with official nixfmt formatter (#21)
* Set nix official formatter for the flake * format the entire project
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
programs = {
|
||||
_1password.enable = true;
|
||||
_1password-gui.enable = true;
|
||||
|
||||
# TODO: Dynamically get user names
|
||||
_1password-gui.polkitPolicyOwners = ["henry"];
|
||||
_1password-gui.polkitPolicyOwners = [ "henry" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
inputs: {
|
||||
inputs:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.omarchy;
|
||||
packages = import ../packages.nix {inherit pkgs;};
|
||||
in {
|
||||
packages = import ../packages.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(import ./hyprland.nix inputs)
|
||||
(import ./system.nix)
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
inputs: {
|
||||
inputs:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
|
||||
@@ -3,10 +3,15 @@
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.omarchy;
|
||||
packages = import ../packages.nix {inherit pkgs lib; exclude_packages = cfg.exclude_packages;};
|
||||
in {
|
||||
packages = import ../packages.nix {
|
||||
inherit pkgs lib;
|
||||
exclude_packages = cfg.exclude_packages;
|
||||
};
|
||||
in
|
||||
{
|
||||
security.rtkit.enable = true;
|
||||
services.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
|
||||
Reference in New Issue
Block a user