Compare commits

..

3 commits

Author SHA1 Message Date
62b059ba0e pkgs: drone-scp: 1.6.2 -> 1.6.3
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 11:27:03 +02:00
b587323095 home: migrate 'cursor' module to new option
Make it part of 'home.wm' now, since that makes more sense.

Not sure about making it related to 'i3' being activated though, will
need to think about this in the future.
2022-06-15 11:27:03 +02:00
e81af8b3bc home: vim: ftdetect: add tiger 2022-06-15 11:27:03 +02:00
6 changed files with 34 additions and 16 deletions

View file

@ -0,0 +1,3 @@
" Use Tiger filetype for programs and header files
au BufNewFile,BufRead *.tig setfiletype tiger
au BufNewFile,BufRead *.tih setfiletype tiger

View file

@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.home.wm.cursor;
cfg_x = config.my.home.x;
cfg_gtk = config.my.home.gtk;
in
{
config = lib.mkIf cfg.enable {
home.pointerCursor = {
package = pkgs.ambroisie.vimix-cursors;
name = "Vimix-cursors";
x11 = {
inherit (cfg_x) enable;
};
gtk = {
inherit (cfg_gtk) enable;
};
};
};
}

View file

@ -10,6 +10,7 @@ let
in
{
imports = [
./cursor
./dunst
./i3
./i3bar
@ -25,6 +26,10 @@ in
description = "Which window manager to use for home session";
};
cursor = {
enable = mkRelatedOption "dunst configuration" [ "i3" ];
};
dunst = {
enable = mkRelatedOption "dunst configuration" [ "i3" ];
};

View file

@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.home.x;
in
{
config = lib.mkIf cfg.enable {
xsession.pointerCursor = {
package = pkgs.ambroisie.vimix-cursors;
name = "Vimix-cursors";
};
};
}

View file

@ -4,7 +4,6 @@ let
in
{
imports = [
./cursor
./keyboard
];

View file

@ -1,16 +1,16 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "drone-scp";
version = "1.6.2";
version = "1.6.3";
src = fetchFromGitHub {
owner = "appleboy";
repo = "drone-scp";
rev = "v${version}";
sha256 = "sha256-PNy1HA2qW4RY/VRHhuj/tIrdTuB7COr0Cuzurku+DZw=";
sha256 = "sha256-ELjPqoRR4O6gmc/PgthQuSXuSTQNzBZoAUT80zVVbV0=";
};
vendorSha256 = "sha256-7Aro6g3Tka0Cbi9LpqvKpQXlbxnHQWsMOkkNpENKh0U=";
vendorSha256 = "sha256-/c103hTJ/Qdz2KTkdl/ACvAaSSTKcl1DQY3+Us6OxaI=";
doCheck = false; # Needs a specific user...