applied static

pull/58/head
Tudor Roman 2024-01-28 15:49:42 +01:00
parent 9f089dee03
commit 7b8952679b
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
8 changed files with 13 additions and 13 deletions

View File

@ -136,7 +136,7 @@
inherit pkgs;
extraSpecialArgs = specialArgs;
modules = (self.lib.hm-modules) ++ [
modules = self.lib.hm-modules ++ [
{
home = {
homeDirectory = "/home/${user}";

View File

@ -1,6 +1,5 @@
{ inputs, ... }: let
nixpkgs = inputs.nixpkgs;
deploy-rs = inputs.deploy-rs;
inherit (inputs) nixpkgs deploy-rs;
in {
mkPkgs = system: import nixpkgs {
inherit system;
@ -9,7 +8,7 @@ in {
(_self: super: {
deploy-rs = {
inherit (nixpkgs.legacyPackages."${system}") deploy-rs;
lib = super.deploy-rs.lib;
inherit (super.deploy-rs) lib;
};
})
];

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
cfg = config.homeModules.desktop.foot;
themeFont = config.homeModules.desktop.fonts.themeFont;
inherit (config.homeModules.desktop.fonts) themeFont;
in
with lib; {
options = {

View File

@ -1,7 +1,7 @@
{ config, flake, lib, pkgs, ... }:
let
cfg = config.homeModules.desktop.sway;
themeFont = config.homeModules.desktop.fonts.themeFont;
inherit (config.homeModules.desktop.fonts) themeFont;
in
with lib; {
options = {
@ -188,9 +188,8 @@ with lib; {
{ command = "systemctl --user restart waybar.service kanshi.service"; always = true; }
];
fonts = {
inherit (themeFont) style size;
names = [ themeFont.family ];
style = themeFont.style;
size = themeFont.size;
};
keybindings = let
mod = config.wayland.windowManager.sway.config.modifier;

View File

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
cfg = config.homeModules.desktop.waybar;
themeFont = config.homeModules.desktop.fonts.themeFont;
inherit (config.homeModules.desktop.fonts) themeFont;
in
with lib; {
options = {

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
cfg = config.homeModules.desktop.wezterm;
themeFont = config.homeModules.desktop.fonts.themeFont;
inherit (config.homeModules.desktop.fonts) themeFont;
in
with lib; {
options = {

View File

@ -30,10 +30,8 @@ with lib; {
# Requires npiperelay
homeModules.tools.op.bashInitExtra =
let
ps = pkgs.ps;
inherit (pkgs) ps util-linux socat;
grep = pkgs.gnugrep;
util-linux = pkgs.util-linux;
socat = pkgs.socat;
in ''
# Configure ssh forwarding
export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock

4
statix.toml Normal file
View File

@ -0,0 +1,4 @@
disabled = ['repeated_keys', 'empty_pattern']
nix_version = '2.4'
ignore = ['.direnv']