move maid modules to own dir
This commit is contained in:
parent
2e877e0a86
commit
9714835abc
5 changed files with 14 additions and 45 deletions
13
flake.nix
13
flake.nix
|
|
@ -41,17 +41,26 @@
|
|||
tt-discord,
|
||||
}@inputs:
|
||||
let
|
||||
scheme = "gruvbox-dark";
|
||||
schemePath = inputs.nixpkgs.lib.strings.concatStrings [
|
||||
"${inputs.tt-schemes}/base16/"
|
||||
"${scheme}"
|
||||
".yaml"
|
||||
];
|
||||
mods = [
|
||||
nix-maid.nixosModules.default
|
||||
nixcord.nixosModules.nixcord
|
||||
agenix.nixosModules.default
|
||||
nix-easyroam.nixosModules.nix-easyroam
|
||||
base16.nixosModule
|
||||
{
|
||||
scheme = "${schemePath}";
|
||||
|
||||
}
|
||||
./configuration.nix
|
||||
./maid.nix
|
||||
./modules/maid
|
||||
./modules/default.nix
|
||||
./secrets/age.nix
|
||||
./theme.nix
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
|||
36
maid.nix
36
maid.nix
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
users.users.lucy.maid = { config, ... }: {
|
||||
gsettings.settings = {
|
||||
org.gnome.desktop.interface = {
|
||||
color-scheme = "prefer-dark";
|
||||
gtk-theme = "adw-gtk3";
|
||||
cursor-theme = "macOS";
|
||||
icon-theme = "Papirus";
|
||||
cursor-size = 24;
|
||||
};
|
||||
};
|
||||
systemd.services."app-com.mitchellh.ghostty" = {
|
||||
description = "Ghostty";
|
||||
enableDefaultPath = false;
|
||||
after = [
|
||||
"graphical-session.target"
|
||||
"dbus.socket"
|
||||
];
|
||||
requires = [ "dbus.socket" ];
|
||||
wantedBy = [ config.maid.systemdGraphicalTarget ];
|
||||
serviceConfig = {
|
||||
Type = "notify"; # reload waits for ghostty to sd_notify READY=1
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
|
||||
BusName = "com.mitchellh.ghostty";
|
||||
ExecStart = "${pkgs.ghostty}/bin/ghostty --gtk-single-instance=true --initial-window=false";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
3
modules/programs/#ghostty.nix#
Normal file
3
modules/programs/#ghostty.nix#
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{ config, lib, inputs, ...}: {}
|
||||
Loading…
Reference in a new issue