switch nixfmt to alejandra to format nix code
This commit is contained in:
parent
582bdb783c
commit
e44894c666
120 changed files with 1163 additions and 1237 deletions
|
|
@ -4,8 +4,7 @@
|
|||
config,
|
||||
rootPath,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
youthlic = {
|
||||
xdg-dirs.enable = true;
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
inputs,
|
||||
unixName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
youthlic = {
|
||||
xdg-dirs.enable = true;
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./wallpaper.nix
|
||||
./programs
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./niri
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.david.programs.niri;
|
||||
in
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.david.programs.niri;
|
||||
in {
|
||||
options = {
|
||||
david.programs.niri = {
|
||||
enable = lib.mkEnableOption "niri";
|
||||
|
|
|
|||
|
|
@ -3,11 +3,9 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
cfg = config.david.programs.openssh;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options = {
|
||||
david.programs.openssh = {
|
||||
enable = lib.mkEnableOption "openssh";
|
||||
|
|
@ -35,10 +33,9 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
})
|
||||
(lib.mkIf (cfg.enable && config.youthlic.programs.sops.enable) {
|
||||
programs.ssh.includes = [ config.sops.secrets.ssh-config.path ];
|
||||
programs.ssh.includes = [config.sops.secrets.ssh-config.path];
|
||||
sops.secrets = {
|
||||
"ssh-private-key/tytonidae" = {
|
||||
mode = "0600";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.david.programs.wluma;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.david.programs.wluma;
|
||||
in {
|
||||
options = {
|
||||
david.programs.wluma = {
|
||||
enable = lib.mkEnableOption "wluma";
|
||||
|
|
|
|||
|
|
@ -3,11 +3,9 @@
|
|||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
cfg = config.david.wallpaper;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options = {
|
||||
david.wallpaper = {
|
||||
enable = lib.mkEnableOption "wallpaper";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue