From b2fc849725424b683bc96ac29fb298dea4472d80 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 3 Sep 2024 02:55:51 -0700 Subject: tings --- flake.nix | 2 +- home/ebisu/fortune/system/variables.nix | 2 +- modules/boot/default.nix | 1 - modules/networking/default.nix | 1 - modules/services/pipewire.nix | 23 +++++++++++------------ 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 3a1fb67..192cdd3 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,7 @@ let inherit (self) outputs; lib = nixpkgs.lib // home-manager.lib; - forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system}); + # forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system}); pkgsFor = lib.genAttrs (import systems) (system: import nixpkgs { inherit system; }); system = "x86_64-linux"; secrets = builtins.fromJSON (builtins.readFile "${self}/secrets/secrets.json"); diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix index 818e535..87f0c78 100644 --- a/home/ebisu/fortune/system/variables.nix +++ b/home/ebisu/fortune/system/variables.nix @@ -11,7 +11,7 @@ FLAKE = "${config.home.homeDirectory}/nixos-config"; # Default programs - EDITOR = "nvim"; + EDITOR = "lvim"; TERMINAL = "kitty"; TERMINAL_PROG = "kitty"; BROWSER = "zen"; diff --git a/modules/boot/default.nix b/modules/boot/default.nix index 6042882..577e74a 100644 --- a/modules/boot/default.nix +++ b/modules/boot/default.nix @@ -1,6 +1,5 @@ { pkgs, - lib, config, ... }: diff --git a/modules/networking/default.nix b/modules/networking/default.nix index caf7686..753e877 100644 --- a/modules/networking/default.nix +++ b/modules/networking/default.nix @@ -1,4 +1,3 @@ -{ pkgs, ... }: { imports = [ ./dhcpcd.nix diff --git a/modules/services/pipewire.nix b/modules/services/pipewire.nix index 4506fbd..4e914a1 100644 --- a/modules/services/pipewire.nix +++ b/modules/services/pipewire.nix @@ -1,15 +1,14 @@ -{ lib, ... }: -let - inherit (lib.attrsets) mapAttrs; - inherit (lib.modules) mkBefore mkOptionDefault; - inherit (lib.lists) singleton; - inherit (builtins) toString; - - mapOptionDefault = mapAttrs (_: mkOptionDefault); - quantum = toString 64; - rate = toString 48000; - qr = "${quantum}/${rate}"; -in +# { lib, ... }: +# let +# inherit (lib.modules) mkBefore; +# inherit (lib.lists) singleton; +# inherit (builtins) toString; + +# mapOptionDefault = lib.attrsets.mapAttrs (_: lib.modules.mkOptionDefault); +# quantum = toString 64; +# rate = toString 48000; +# qr = "${quantum}/${rate}"; +# in { services.pipewire = { enable = true; -- cgit v1.2.3