Compare commits
4 commits
6f90d71a44
...
38a204e4f0
Author | SHA1 | Date | |
---|---|---|---|
joygnu | 38a204e4f0 | ||
joygnu | e4c6a667e6 | ||
joygnu | 7b75cc3190 | ||
joygnu | b0558269f8 |
13
modules/apps/default.nix
Normal file
13
modules/apps/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
imports = [
|
||||
./alacritty
|
||||
./appimage
|
||||
./firefox
|
||||
./helix
|
||||
./newsboat
|
||||
./packages
|
||||
./rofi
|
||||
./vm
|
||||
./zsh
|
||||
];
|
||||
}
|
|
@ -1,32 +1,11 @@
|
|||
{
|
||||
imports = [
|
||||
./fonts
|
||||
./sound
|
||||
./vm
|
||||
./packages
|
||||
./misc
|
||||
./gdm
|
||||
./stylix
|
||||
./blue
|
||||
./apps
|
||||
./desktop
|
||||
./hardware
|
||||
./services
|
||||
./syncthing
|
||||
./gpg
|
||||
./appimage
|
||||
./update
|
||||
./polkit
|
||||
./ssh
|
||||
./dunst
|
||||
./zsh
|
||||
./misc
|
||||
./rofi
|
||||
./helix
|
||||
./firefox
|
||||
./alacritty
|
||||
./hyprland
|
||||
./hypridle
|
||||
./newsboat
|
||||
./git
|
||||
./gtk
|
||||
./ags
|
||||
./styling
|
||||
./system
|
||||
./tools
|
||||
];
|
||||
}
|
||||
|
|
7
modules/desktop/default.nix
Normal file
7
modules/desktop/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./ags
|
||||
./hypridle
|
||||
./hyprland
|
||||
];
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
"$scrPath" = "~/nix/modules/hyprland/scirpts";
|
||||
"$scrPath" = "~/nix/modules/desktop/hyprland/scirpts";
|
||||
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
|
@ -49,7 +49,7 @@
|
|||
|
||||
exec-once = [
|
||||
"ags"
|
||||
"sh ~/nix/modules/hyprland/scripts/hypridle.sh"
|
||||
"sh ~/nix/modules/desktop/hyprland/scripts/hypridle.sh"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
|
@ -79,11 +79,11 @@
|
|||
"$mod, A, exec, rofi -show drun"
|
||||
"$mod, F, exec, freetube"
|
||||
"$mod, C, exec, hyprpicker -a"
|
||||
"$mod+Shift, W, exec, sh ~/nix/modules/yprland/scripts/vm.sh"
|
||||
"$mod+Shift, W, exec, sh ~/nix/modules/desktop/hyprland/scripts/vm.sh"
|
||||
"$mod+Shift, Z, exec, grim - | swappy -f -"
|
||||
"$mod, Z, exec, sh ~/nix/modules/hyprland/scripts/screen.sh"
|
||||
"$mod, Z, exec, sh ~/nix/modules/desktop/hyprland/scripts/screen.sh"
|
||||
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
||||
"$mod, O, exec, sh ~/nix/modules/hyprland/scripts/mpv.sh"
|
||||
"$mod, O, exec, sh ~/nix/modules/desktop/hyprland/scripts/mpv.sh"
|
||||
|
||||
# controles
|
||||
"$mod, Q, killactive"
|
||||
|
@ -91,14 +91,14 @@
|
|||
"$mod, R, togglesplit"
|
||||
"$mod+shift, S, exec, systemctl suspend"
|
||||
"$mod+shift, M, exit, hyprland"
|
||||
"$mod, G, exec, sh ~/nix/modules/hyprland/scripts/gamemode.sh"
|
||||
"$mod+shift, B, exec, sh ~/nix/modules/hyprland/scripts/ags.sh"
|
||||
"$mod, up, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -i"
|
||||
"$mod, down, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -d"
|
||||
"$mod, G, exec, sh ~/nix/modules/desktop/hyprland/scripts/gamemode.sh"
|
||||
"$mod+shift, B, exec, sh ~/nix/modules/desktop/hyprland/scripts/ags.sh"
|
||||
"$mod, up, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -i"
|
||||
"$mod, down, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -d"
|
||||
"$mod, P, exec, hyprctl dispatch togglefloating && hyprctl dispatch pin"
|
||||
|
||||
# cmus
|
||||
"$mod, D, exec, sh ~/nix/modules/hyprland/scripts/cmus.sh"
|
||||
"$mod, D, exec, sh ~/nix/modules/desktop/hyprland/scripts/cmus.sh"
|
||||
"$mod, space, exec, playerctl play-pause"
|
||||
"$mod, comma, exec, playerctl previous"
|
||||
"$mod, period, exec, playerctl next"
|
||||
|
@ -157,10 +157,10 @@
|
|||
bindl = [
|
||||
", XF86MonBrightnessUp, exec, brightnessctl set +10%"
|
||||
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
|
||||
", XF86AudioRaiseVolume, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -i"
|
||||
", XF86AudioLowerVolume, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -d"
|
||||
", XF86AudioMute, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -m"
|
||||
", XF86AudioMicMute, exec, sh ~/nix/modules/hyprland/scripts/volume.sh -t"
|
||||
", XF86AudioRaiseVolume, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -i"
|
||||
", XF86AudioLowerVolume, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -d"
|
||||
", XF86AudioMute, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -m"
|
||||
", XF86AudioMicMute, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -t"
|
||||
];
|
||||
|
||||
general = {
|
|
@ -1,6 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
}
|
6
modules/hardware/default.nix
Normal file
6
modules/hardware/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bluetooth
|
||||
./sound
|
||||
];
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
{...}: {
|
||||
services.devmon.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
{
|
||||
imports = [
|
||||
./dunst
|
||||
./gdm
|
||||
./polkit
|
||||
./syncthing
|
||||
];
|
||||
}
|
||||
|
|
5
modules/services/syncthing/services/default.nix
Normal file
5
modules/services/syncthing/services/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
services.devmon.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
}
|
7
modules/styling/default.nix
Normal file
7
modules/styling/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./qt
|
||||
# ./gkt
|
||||
./stylix
|
||||
];
|
||||
}
|
9
modules/styling/qt/default.nix
Normal file
9
modules/styling/qt/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
home-manager.users.joy.qt = {
|
||||
enable = true;
|
||||
style.name = "adwaita-dark";
|
||||
style.package = pkgs.adwaita-qt;
|
||||
platformTheme.name = "adwaita";
|
||||
};
|
||||
}
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
|
@ -1,3 +1,4 @@
|
|||
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
|
@ -10,6 +11,11 @@
|
|||
extraGroups = ["wheel" "docker"];
|
||||
};
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
|
||||
virtualisation.docker.rootless.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
|
@ -30,6 +36,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.devmon.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
|
||||
|
||||
home-manager.users.joy.programs.home-manager.enable = true;
|
||||
|
||||
home-manager.users.joy.xdg.mimeApps.defaultApplications = {
|
7
modules/tools/default.nix
Normal file
7
modules/tools/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./git
|
||||
./ssh
|
||||
./gpg
|
||||
];
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{inputs, ...}: {
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = inputs.self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "02:00";
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue