fixup! Broken fix
This commit is contained in:
1 parent
65931e8d74
commit
b84f9dfbbf
15 files changed
+226
-173
No files matched your search
@@ -3,7 +3,6 @@
|
||||
./host/bluetooth.nix
|
||||
./host/bootloader.nix
|
||||
./host/env.nix
|
||||
./host/gamemode.nix
|
||||
./host/sound.nix
|
||||
./host/vpn.nix
|
||||
./host/postgresql.nix
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
protonup-ng
|
||||
bottles
|
||||
heroic
|
||||
vesktop
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
|
||||
+24
-17
@@ -1,19 +1,26 @@
|
||||
{config, pkgs, ... }:{
|
||||
config.services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "test" ];
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all trust
|
||||
# ipv4
|
||||
host all all 127.0.0.1/32 trust
|
||||
# ipv6
|
||||
host all all ::1/128 trust
|
||||
'';
|
||||
initialScript = pkgs.writeText "backend-initScript" ''
|
||||
CREATE ROLE nixcloud WITH LOGIN PASSWORD 'nixcloud' CREATEDB;
|
||||
CREATE DATABASE nixcloud;
|
||||
GRANT ALL PRIVILEGES ON DATABASE nixcloud TO nixcloud;
|
||||
'';
|
||||
{ config, pkgs, ... }: {
|
||||
config = {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "test" ];
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all trust
|
||||
# ipv4
|
||||
host all all 127.0.0.1/32 trust
|
||||
# ipv6
|
||||
host all all ::1/128 trust
|
||||
'';
|
||||
initialScript = pkgs.writeText "backend-initScript" ''
|
||||
CREATE ROLE nixcloud WITH LOGIN PASSWORD 'nixcloud' CREATEDB;
|
||||
CREATE DATABASE nixcloud;
|
||||
GRANT ALL PRIVILEGES ON DATABASE nixcloud TO nixcloud;
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
postgresql
|
||||
dbgate
|
||||
];
|
||||
};
|
||||
}
|
||||
+5
-3
@@ -1,14 +1,16 @@
|
||||
{config, pkgs, ...}: {
|
||||
{config, lib, ...}: {
|
||||
imports = [
|
||||
./user/ags.nix
|
||||
./user/mako.nix
|
||||
./user/yazi.nix
|
||||
./user/sleepMode.nix
|
||||
./user/ghostty.nix
|
||||
./user/home-aps.nix
|
||||
./user/zed-idea.nix
|
||||
./user/wofi.nix
|
||||
./user/tex.nix
|
||||
./user/btop.nix
|
||||
./user/zsh.nix
|
||||
./user/packages/tex.nix
|
||||
./user/packages/utils.nix
|
||||
./user/packages/desktop.nix
|
||||
];
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{ pkgs, inputs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
jetbrains.idea-community
|
||||
android-studio
|
||||
lazygit
|
||||
git
|
||||
tree
|
||||
zed-editor
|
||||
postgresql
|
||||
dbgate
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ pkgs, inputs, pkgs-fixed, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
pkgs-fixed.ayugram-desktop
|
||||
obs-studio
|
||||
mpv
|
||||
obsidian
|
||||
qbittorrent
|
||||
libreoffice
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
texstudio
|
||||
(texlive.combine {
|
||||
inherit (texlive)
|
||||
babel-russian
|
||||
cm-super
|
||||
cyrillic
|
||||
hyphen-russian
|
||||
hyphenat
|
||||
titlesec
|
||||
caption
|
||||
float
|
||||
xcolor
|
||||
listings
|
||||
pagecolor
|
||||
moresize
|
||||
raleway
|
||||
fontawesome5
|
||||
luatexbase
|
||||
fontspec
|
||||
ragged2e
|
||||
enumitem
|
||||
extsizes
|
||||
multirow
|
||||
varwidth
|
||||
paracol
|
||||
anyfontsize
|
||||
scheme-basic;
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
scrot
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
bat
|
||||
fd
|
||||
feh
|
||||
imv
|
||||
gromit-mpx
|
||||
notify-desktop
|
||||
rtorrent
|
||||
gparted
|
||||
git-lfs
|
||||
unrar
|
||||
hexyl
|
||||
jq
|
||||
litecli
|
||||
trashy
|
||||
dig
|
||||
mtr
|
||||
imagemagick
|
||||
wl-clipboard
|
||||
];
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"image/bmp" = "imv.desktop";
|
||||
"image/gif" = "imv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/jpg" = "imv.desktop";
|
||||
"image/pjpeg" = "imv.desktop";
|
||||
"image/png" = "imv.desktop";
|
||||
"image/tiff" = "imv.desktop";
|
||||
"image/x-bmp" = "imv.desktop";
|
||||
"image/x-pcx" = "imv.desktop";
|
||||
"image/x-png" = "imv.desktop";
|
||||
"image/x-portable-anymap" = "imv.desktop";
|
||||
"image/x-portable-bitmap" = "imv.desktop";
|
||||
"image/x-portable-graymap" = "imv.desktop";
|
||||
"image/x-portable-pixmap" = "imv.desktop";
|
||||
"image/x-tga" = "imv.desktop";
|
||||
"image/x-xbitmap" = "imv.desktop";
|
||||
"image/heif" = "imv.desktop";
|
||||
"image/avif" = "imv.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
texstudio
|
||||
(texlive.combine {
|
||||
inherit (texlive)
|
||||
babel-russian
|
||||
cm-super
|
||||
cyrillic
|
||||
titlesec
|
||||
hyperref
|
||||
geometry
|
||||
caption
|
||||
float
|
||||
xcolor
|
||||
listings
|
||||
scheme-full;
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user