mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
further refactor work
This commit is contained in:
parent
eb4713ec37
commit
befe6ea564
32 changed files with 39 additions and 14 deletions
|
|
@ -12,6 +12,24 @@
|
|||
Terminal=False
|
||||
Type=Application
|
||||
'';
|
||||
konawallConfig = {
|
||||
interval = 300;
|
||||
rotate = true;
|
||||
source = "konachan";
|
||||
tags = [
|
||||
"rating:s"
|
||||
"touhou"
|
||||
"score:>=50"
|
||||
"width:>=1500"
|
||||
];
|
||||
logging = {
|
||||
file = "INFO";
|
||||
console = "DEBUG";
|
||||
};
|
||||
};
|
||||
in {
|
||||
xdg.configFile."autostart/konawall.desktop".text = desktop_entry;
|
||||
xdg.configFile = {
|
||||
"konawall/config.toml".source = (pkgs.formats.toml {}).generate "konawall-config" konawallConfig;
|
||||
"autostart/konawall.desktop".text = desktop_entry;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.modules) mkOption;
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (lib.types) enum;
|
||||
in {
|
||||
options.machine = {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
font-awesome
|
||||
twitter-color-emoji
|
||||
iosevka-bin
|
||||
monaspace
|
||||
];
|
||||
enableDefaultPackages = true;
|
||||
fontDir.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
_: {
|
||||
firewall = {
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [5353]; # MDNS
|
||||
allowedUDPPortRanges = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,10 +10,14 @@ _: let
|
|||
kde
|
||||
]);
|
||||
|
||||
home-manager.users.kat.imports = with tree.home.profiles; [
|
||||
graphical
|
||||
devops
|
||||
];
|
||||
home-manager.users.kat.imports =
|
||||
(with tree.home.profiles; [
|
||||
graphical
|
||||
devops
|
||||
])
|
||||
++ (with tree.home.environments; [
|
||||
kde
|
||||
]);
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
|
|
|
|||
|
|
@ -13,14 +13,16 @@ _: let
|
|||
]
|
||||
++ (with tree.nixos.roles; [
|
||||
server
|
||||
web-server
|
||||
postgres-server
|
||||
matrix-homeserver
|
||||
vaultwarden-server
|
||||
minecraft-server
|
||||
monitoring-server
|
||||
])
|
||||
++ (with tree.nixos.servers; [
|
||||
web
|
||||
postgres
|
||||
matrix
|
||||
vaultwarden
|
||||
minecraft
|
||||
grafana-stack
|
||||
public-directory
|
||||
irc-client
|
||||
web-irc-client
|
||||
]);
|
||||
|
||||
boot = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue