Format project with official nixfmt formatter (#21)

* Set nix official formatter for the flake

* format the entire project
This commit is contained in:
Gaétan Lepage
2025-10-15 22:09:51 +02:00
committed by GitHub
parent 98b3c63572
commit fba993c589
34 changed files with 375 additions and 281 deletions
+3 -2
View File
@@ -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" ];
};
}
+2 -1
View File
@@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
virtualisation.containers.enable = true;
virtualisation = {
docker.enable = true;
+7 -4
View File
@@ -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)
+4 -2
View File
@@ -1,8 +1,10 @@
inputs: {
inputs:
{
config,
pkgs,
...
}: {
}:
{
programs.hyprland = {
enable = true;
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
+8 -3
View File
@@ -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 = {