Compare commits
2 Commits
910652e98c
...
519354fd2c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
519354fd2c
|
||
|
|
6d976d8319
|
@@ -60,6 +60,7 @@
|
|||||||
./roles/optimized_build
|
./roles/optimized_build
|
||||||
./roles/pcsx2
|
./roles/pcsx2
|
||||||
./roles/podman
|
./roles/podman
|
||||||
|
./roles/postgresql_client
|
||||||
./roles/python
|
./roles/python
|
||||||
./roles/qemu
|
./roles/qemu
|
||||||
./roles/recovery
|
./roles/recovery
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
me.openpgp_card_tools.enable = true;
|
me.openpgp_card_tools.enable = true;
|
||||||
me.pcsx2.enable = true;
|
me.pcsx2.enable = true;
|
||||||
me.podman.enable = true;
|
me.podman.enable = true;
|
||||||
|
me.postgresql_client.enable = true;
|
||||||
me.python.enable = true;
|
me.python.enable = true;
|
||||||
me.qemu.enable = true;
|
me.qemu.enable = true;
|
||||||
me.recovery.enable = true;
|
me.recovery.enable = true;
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
me.nvme.enable = true;
|
me.nvme.enable = true;
|
||||||
me.openpgp_card_tools.enable = true;
|
me.openpgp_card_tools.enable = true;
|
||||||
me.podman.enable = true;
|
me.podman.enable = true;
|
||||||
|
me.postgresql_client.enable = true;
|
||||||
me.python.enable = true;
|
me.python.enable = true;
|
||||||
me.rust.enable = true;
|
me.rust.enable = true;
|
||||||
me.sequoia.enable = true;
|
me.sequoia.enable = true;
|
||||||
|
|||||||
@@ -113,6 +113,7 @@
|
|||||||
me.openpgp_card_tools.enable = true;
|
me.openpgp_card_tools.enable = true;
|
||||||
me.pcsx2.enable = true;
|
me.pcsx2.enable = true;
|
||||||
me.podman.enable = true;
|
me.podman.enable = true;
|
||||||
|
me.postgresql_client.enable = true;
|
||||||
me.python.enable = true;
|
me.python.enable = true;
|
||||||
me.qemu.enable = true;
|
me.qemu.enable = true;
|
||||||
me.recovery.enable = true;
|
me.recovery.enable = true;
|
||||||
|
|||||||
@@ -54,10 +54,10 @@
|
|||||||
<!-- </match> -->
|
<!-- </match> -->
|
||||||
|
|
||||||
<!-- Dejavu Sans Mono keeps coming back when I query "monospace". Doesn't happen when I'm using Souce Code Pro but does happen with cascadia... force it to cascadia -->
|
<!-- Dejavu Sans Mono keeps coming back when I query "monospace". Doesn't happen when I'm using Souce Code Pro but does happen with cascadia... force it to cascadia -->
|
||||||
<!-- <match target="pattern"> -->
|
<match target="pattern">
|
||||||
<!-- <test qual="any" name="family"><string>monospace</string></test> -->
|
<test qual="any" name="family"><string>monospace</string></test>
|
||||||
<!-- <edit name="family" mode="assign" binding="same"><string>Cascadia Mono</string></edit> -->
|
<edit name="family" mode="assign" binding="same"><string>Cascadia Mono</string></edit>
|
||||||
<!-- </match> -->
|
</match>
|
||||||
|
|
||||||
<!-- Disable ligatures in monospace fonts. -->
|
<!-- Disable ligatures in monospace fonts. -->
|
||||||
<match target="font">
|
<match target="font">
|
||||||
|
|||||||
25
nix/configuration/roles/postgresql_client/default.nix
Normal file
25
nix/configuration/roles/postgresql_client/default.nix
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
options.me = {
|
||||||
|
postgresql_client.enable = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
example = true;
|
||||||
|
description = "Whether we want to install postgresql_client.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.me.postgresql_client.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
pgformatter
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user