Compare commits
4 Commits
e50b936197
...
7eead37864
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7eead37864 | ||
|
|
f3da867a0b | ||
|
|
83f3fedab0 | ||
|
|
a0ebed28b7 |
@@ -8,7 +8,9 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../modules/aichat.nix
|
../../modules/aichat.nix
|
||||||
];
|
];
|
||||||
programs.mayichat = {
|
|
||||||
|
disabledModules = ["programs/aichat.nix"];
|
||||||
|
programs.aichat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = false;
|
enableNushellIntegration = false;
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
./swaync.nix
|
./swaync.nix
|
||||||
./swayosd.nix
|
./swayosd.nix
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
./hyprland.nix
|
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./anyrun.nix
|
./anyrun.nix
|
||||||
./ironbar
|
./ironbar
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./eww.nix
|
./eww.nix
|
||||||
./hyprmon.nix
|
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
./hyprmon.nix
|
||||||
|
./hyprland.nix
|
||||||
|
./hyprpaper.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
device,
|
device,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# lib.optionalAttrs device.isNix
|
# lib.optionalAttrs device.isNix
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
../../modules/hyprpaper.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# services.hyprpolkitagent.enable = true;
|
# services.hyprpolkitagent.enable = true;
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = device.is "ryu";
|
enable = device.is "ryu";
|
||||||
@@ -29,20 +24,6 @@
|
|||||||
services.hyprsunset = {
|
services.hyprsunset = {
|
||||||
enable = device.is "ryu";
|
enable = device.is "ryu";
|
||||||
};
|
};
|
||||||
programs.hyprpaper = let
|
|
||||||
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
|
|
||||||
in {
|
|
||||||
enable = device.is "ryu";
|
|
||||||
# enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
systemd.target = "hyprland-session.target";
|
|
||||||
settings.preload = wallpapers.all;
|
|
||||||
settings.wallpapers = {
|
|
||||||
"${device.monitors.primary}" = wallpapers.moon;
|
|
||||||
"${device.monitors.secondary}" = wallpapers.frieren_3;
|
|
||||||
"${device.monitors.tertiary}" = wallpapers.shapes;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = device.is "ryu";
|
enable = device.is "ryu";
|
||||||
};
|
};
|
||||||
@@ -206,7 +187,9 @@
|
|||||||
"$mainModShift, Q, killactive,"
|
"$mainModShift, Q, killactive,"
|
||||||
"$mainModShift, s, exec, ${pkgs.hyprshot}/bin/hyprshot -m region"
|
"$mainModShift, s, exec, ${pkgs.hyprshot}/bin/hyprshot -m region"
|
||||||
# "$mainMod, M, exit,"
|
# "$mainMod, M, exit,"
|
||||||
"$mainMod, t, togglefloating,"
|
"$mainModShift, f, togglefloating,"
|
||||||
|
"$mainModShift, f, pin"
|
||||||
|
"$mainModShift, f, alterzorder, top"
|
||||||
"$mainMod, f, fullscreen,"
|
"$mainMod, f, fullscreen,"
|
||||||
"$mainMod, g, fullscreenstate,0,2"
|
"$mainMod, g, fullscreenstate,0,2"
|
||||||
"$mainMod, d, exec, ${pkgs.anyrun}/bin/anyrun"
|
"$mainMod, d, exec, ${pkgs.anyrun}/bin/anyrun"
|
||||||
|
|||||||
30
home/services/hyprpaper.nix
Normal file
30
home/services/hyprpaper.nix
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
device,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
../../modules/hyprpaper.nix
|
||||||
|
];
|
||||||
|
programs.hyprpaper = let
|
||||||
|
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
|
||||||
|
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
|
||||||
|
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
|
||||||
|
in {
|
||||||
|
enable = device.is "ryu";
|
||||||
|
# enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
systemd.target = "hyprland-session.target";
|
||||||
|
settings.preload =
|
||||||
|
wallpapers.all
|
||||||
|
++ [
|
||||||
|
silksongFleas
|
||||||
|
];
|
||||||
|
settings.wallpapers = {
|
||||||
|
"${device.monitors.primary}" = silksongFleas;
|
||||||
|
"${device.monitors.secondary}" = wallpapers.frieren_3;
|
||||||
|
"${device.monitors.tertiary}" = wallpapers.hornet;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.programs.mayichat;
|
cfg = config.programs.aichat;
|
||||||
yamlFormat = pkgs.formats.yaml {};
|
yamlFormat = pkgs.formats.yaml {};
|
||||||
fishIntegration = ''
|
fishIntegration = ''
|
||||||
function _aichat_fish
|
function _aichat_fish
|
||||||
@@ -64,7 +64,7 @@ with lib; let
|
|||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
programs.mayichat = {
|
programs.aichat = {
|
||||||
enable = mkEnableOption "aichat";
|
enable = mkEnableOption "aichat";
|
||||||
package = mkPackageOption pkgs "aichat" {};
|
package = mkPackageOption pkgs "aichat" {};
|
||||||
|
|
||||||
|
|||||||
@@ -224,11 +224,11 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
neotest = {
|
neotest = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
# adapters = [
|
adapters = [
|
||||||
# ''require('rustaceanvim.neotest')''
|
''require('rustaceanvim.neotest')''
|
||||||
# ];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
neorg = {
|
neorg = {
|
||||||
@@ -393,7 +393,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
rustaceanvim = {
|
rustaceanvim = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
on_attach =
|
on_attach =
|
||||||
@@ -509,7 +509,7 @@ in {
|
|||||||
# sourcekit.enable = true;
|
# sourcekit.enable = true;
|
||||||
openscad_lsp.enable = true;
|
openscad_lsp.enable = true;
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = false;
|
||||||
installCargo = false;
|
installCargo = false;
|
||||||
installRustc = false;
|
installRustc = false;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -75,22 +75,22 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gitea-actions-runner = {
|
# gitea-actions-runner = {
|
||||||
instances = {
|
# instances = {
|
||||||
mirai = {
|
# mirai = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
name = "mirai";
|
# name = "mirai";
|
||||||
url = "https://git.darksailor.dev";
|
# url = "https://git.darksailor.dev";
|
||||||
labels = [
|
# labels = [
|
||||||
"ubuntu-latest:docker://catthehacker/ubuntu:full-latest"
|
# "ubuntu-latest:docker://catthehacker/ubuntu:full-latest"
|
||||||
"ubuntu-22.04:docker://catthehacker/ubuntu:full-22.04"
|
# "ubuntu-22.04:docker://catthehacker/ubuntu:full-22.04"
|
||||||
"ubuntu-20.04:docker://catthehacker/ubuntu:full-20.04"
|
# "ubuntu-20.04:docker://catthehacker/ubuntu:full-20.04"
|
||||||
"native:host"
|
# "native:host"
|
||||||
];
|
# ];
|
||||||
tokenFile = "${config.sops.templates."GITEA_REGISTRATION_TOKEN.env".path}";
|
# tokenFile = "${config.sops.templates."GITEA_REGISTRATION_TOKEN.env".path}";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
caddy = {
|
caddy = {
|
||||||
virtualHosts."git.darksailor.dev".extraConfig = ''
|
virtualHosts."git.darksailor.dev".extraConfig = ''
|
||||||
reverse_proxy localhost:3000
|
reverse_proxy localhost:3000
|
||||||
@@ -148,9 +148,10 @@
|
|||||||
systemd.services.gitea = {
|
systemd.services.gitea = {
|
||||||
after = ["sops-install-secrets.service"];
|
after = ["sops-install-secrets.service"];
|
||||||
};
|
};
|
||||||
systemd.services."gitea-actions-mirai" = {
|
|
||||||
after = ["gitea.service"];
|
# systemd.services."gitea-actions-mirai" = {
|
||||||
};
|
# after = ["gitea.service"];
|
||||||
|
# };
|
||||||
|
|
||||||
# systemd.services.gitea-oauth-setup = let
|
# systemd.services.gitea-oauth-setup = let
|
||||||
# name = "authelia";
|
# name = "authelia";
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./alvr.nix
|
# ./alvr.nix
|
||||||
|
./easyeffects.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
7
nixos/ryu/apps/easyeffects.nix
Normal file
7
nixos/ryu/apps/easyeffects.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with pkgs; [easyeffects];
|
||||||
|
}
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
./services
|
./services
|
||||||
./programs
|
./programs
|
||||||
./containers
|
./containers
|
||||||
|
./apps
|
||||||
];
|
];
|
||||||
|
|
||||||
# sops = {
|
# sops = {
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ in rec {
|
|||||||
url = "https://w.wallhaven.cc/full/8o/wallhaven-8ow3q1.jpg";
|
url = "https://w.wallhaven.cc/full/8o/wallhaven-8ow3q1.jpg";
|
||||||
sha256 = "1qn2rv4y4550ag3yjrcj70jry6vxakbqskpwanyrghw2lmlhy7rf";
|
sha256 = "1qn2rv4y4550ag3yjrcj70jry6vxakbqskpwanyrghw2lmlhy7rf";
|
||||||
};
|
};
|
||||||
|
hornet = getWall {
|
||||||
|
url = "https://w.wallhaven.cc/full/6l/wallhaven-6ld5pl.jpg";
|
||||||
|
sha256 = "07dsizb6rzzbc97azhrih2ahxkjnv9qfvj0hfkhrc7wkjilhbk89";
|
||||||
|
};
|
||||||
moon = getWall {
|
moon = getWall {
|
||||||
url = "https://w.wallhaven.cc/full/6o/wallhaven-6o1zp7.png";
|
url = "https://w.wallhaven.cc/full/6o/wallhaven-6o1zp7.png";
|
||||||
sha256 = "07c1yc3haa25ik3icqm85ppb5x888adxcyh9pmyz79n7ma8z7sil";
|
sha256 = "07c1yc3haa25ik3icqm85ppb5x888adxcyh9pmyz79n7ma8z7sil";
|
||||||
@@ -36,6 +40,5 @@ in rec {
|
|||||||
sha256 = "11w5lfqg6ip6zhiwfw63gv08f55kqbfnhmv7iq07mfspny36w840";
|
sha256 = "11w5lfqg6ip6zhiwfw63gv08f55kqbfnhmv7iq07mfspny36w840";
|
||||||
};
|
};
|
||||||
|
|
||||||
anime = [frieren_3];
|
all = [lights shapes cloud skull moon hornet frieren_3];
|
||||||
all = [lights shapes cloud skull moon] ++ anime;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user