flake: reformat with nixfmt
This commit is contained in:
parent
a79e641851
commit
eaf4f56ac0
117 changed files with 2667 additions and 1592 deletions
|
@ -1,4 +1,11 @@
|
|||
{ config, common, secrets, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
common,
|
||||
secrets,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) flatten optional mkIf;
|
||||
ifGraphical = lib.optionals config.info.graphical;
|
||||
|
@ -8,66 +15,78 @@ in
|
|||
imports = [
|
||||
];
|
||||
|
||||
home = { config, main, ... }: {
|
||||
imports = [
|
||||
./config
|
||||
];
|
||||
home =
|
||||
{ config, main, ... }:
|
||||
{
|
||||
imports = [
|
||||
./config
|
||||
];
|
||||
|
||||
programs = {
|
||||
git = {
|
||||
userEmail = "infinidoge@inx.moe";
|
||||
userName = "Infinidoge";
|
||||
extraConfig = {
|
||||
gpg.format = "ssh";
|
||||
commit.gpgsign = true;
|
||||
user.signingkey = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
|
||||
programs = {
|
||||
git = {
|
||||
userEmail = "infinidoge@inx.moe";
|
||||
userName = "Infinidoge";
|
||||
extraConfig = {
|
||||
gpg.format = "ssh";
|
||||
commit.gpgsign = true;
|
||||
user.signingkey = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
|
||||
};
|
||||
};
|
||||
firefox = {
|
||||
enable = main.info.graphical;
|
||||
package = pkgs.firefox-devedition;
|
||||
};
|
||||
};
|
||||
firefox = {
|
||||
enable = main.info.graphical;
|
||||
package = pkgs.firefox-devedition;
|
||||
|
||||
home.sessionVariables = {
|
||||
KEYID = "0x30E7A4C03348641E";
|
||||
POP_SMTP_HOST = common.email.smtp.address;
|
||||
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
||||
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
||||
POP_SMTP_PASSWORD = "$(cat ${secrets.personal-smtp-password})";
|
||||
};
|
||||
|
||||
home.packages =
|
||||
with pkgs;
|
||||
flatten [
|
||||
bitwarden-cli
|
||||
bsd-finger
|
||||
jmtpfs
|
||||
ncdu
|
||||
peaclock
|
||||
pop
|
||||
|
||||
(lib.optionals (!main.universe.minimal.enable) [
|
||||
packwiz
|
||||
toot
|
||||
])
|
||||
|
||||
(ifGraphical [
|
||||
speedcrunch
|
||||
(discord-canary.override {
|
||||
withVencord = true;
|
||||
withOpenASAR = true;
|
||||
withTTS = false;
|
||||
})
|
||||
])
|
||||
|
||||
(lib.optionals (!main.universe.minimal.enable && main.info.graphical) [
|
||||
(discord.override {
|
||||
withVencord = true;
|
||||
withOpenASAR = true;
|
||||
withTTS = false;
|
||||
})
|
||||
schildichat-desktop
|
||||
signal-desktop
|
||||
teams-for-linux
|
||||
thunderbird
|
||||
tor-browser
|
||||
bitwarden
|
||||
qbittorrent
|
||||
])
|
||||
];
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
KEYID = "0x30E7A4C03348641E";
|
||||
POP_SMTP_HOST = common.email.smtp.address;
|
||||
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
||||
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
||||
POP_SMTP_PASSWORD = "$(cat ${secrets.personal-smtp-password})";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; flatten [
|
||||
bitwarden-cli
|
||||
bsd-finger
|
||||
jmtpfs
|
||||
ncdu
|
||||
peaclock
|
||||
pop
|
||||
|
||||
(lib.optionals (!main.universe.minimal.enable) [
|
||||
packwiz
|
||||
toot
|
||||
])
|
||||
|
||||
(ifGraphical [
|
||||
speedcrunch
|
||||
(discord-canary.override { withVencord = true; withOpenASAR = true; withTTS = false; })
|
||||
])
|
||||
|
||||
(lib.optionals (!main.universe.minimal.enable && main.info.graphical) [
|
||||
(discord.override { withVencord = true; withOpenASAR = true; withTTS = false; })
|
||||
schildichat-desktop
|
||||
signal-desktop
|
||||
teams-for-linux
|
||||
thunderbird
|
||||
tor-browser
|
||||
bitwarden
|
||||
qbittorrent
|
||||
])
|
||||
];
|
||||
};
|
||||
|
||||
systemd.user.tmpfiles.users.infinidoge.rules = mkIf config.universe.media.enable [
|
||||
"L+ /home/infinidoge/.local/share/jellyfinmediaplayer/scripts/mpris.so - - - - ${pkgs.mpvScripts.mpris}/share/mpv/scripts/mpris.so"
|
||||
];
|
||||
|
@ -82,7 +101,6 @@ in
|
|||
monospace = [ "DejaVuSansMono" ];
|
||||
};
|
||||
|
||||
|
||||
modules = {
|
||||
desktop.wm.qtile.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue