Compare commits

...

5 Commits

Author SHA1 Message Date
7b6402550a Recnofigure tiny-dfr a little 2024-10-04 21:34:40 +02:00
e44694fb28 Set tilde key to comma 2024-10-04 21:34:25 +02:00
f53a8cc23a Add some new packages 2024-10-04 21:34:14 +02:00
5d596e2296 Add prismlauncher and renoise to foxhut 2024-10-04 21:33:31 +02:00
e0edef2e30 Use xeniagda/tiny-dfr, configure button style 2024-09-16 23:46:34 +02:00
7 changed files with 47 additions and 19 deletions

View File

@ -218,7 +218,7 @@
modules = [ modules = [
nixos-apple-silicon.nixosModules.apple-silicon-support nixos-apple-silicon.nixosModules.apple-silicon-support
./nixos/machines/foxhut/hardware.nix ./nixos/machines/foxhut/hardware.nix
(import ./nixos/machines/foxhut/boot.nix { inherit pkgs asahi-firmware; }) (import ./nixos/machines/foxhut/boot.nix { inherit pkgs pkgs-unstable asahi-firmware; })
base base
networking networking
graphical graphical

View File

@ -35,7 +35,8 @@ in rec {
gleam erlang gleam erlang
ghc ghc
( python311.withPackages (ps: with ps; [ ( python311.withPackages (ps: with ps; [
numpy matplotlib sympy scipy pandas jupyter numpy matplotlib sympy scipy pandas jupyter soundfile
pygame
# pwntools # pwntools
z3 tqdm z3 tqdm
pyusb usbtmc pyusb usbtmc

View File

@ -65,6 +65,8 @@
binutils binutils
coreutils coreutils
lsof file traceroute
home-manager home-manager
git # for home-manager git # for home-manager
]; ];

View File

@ -60,5 +60,8 @@ in
thunderbird thunderbird
glxinfo glxinfo
start-plasma-shortcut start-plasma-shortcut
remmina
libreoffice
kicad-small
]; ];
} }

View File

@ -1,6 +1,6 @@
default default
xkb_symbols "fox" { xkb_symbols "fox" {
key <TLDE> {[ U1F408, U1F431, U1F408, U1F431 ]}; key <TLDE> {[ comma, semicolon, VoidSymbol, VoidSymbol ]};
key <AE01> {[ 1, ampersand, VoidSymbol, VoidSymbol ]}; key <AE01> {[ 1, ampersand, VoidSymbol, VoidSymbol ]};
key <AE02> {[ 2, quotedbl, at, VoidSymbol ]}; key <AE02> {[ 2, quotedbl, at, VoidSymbol ]};
key <AE03> {[ 3, numbersign, VoidSymbol, VoidSymbol ]}; key <AE03> {[ 3, numbersign, VoidSymbol, VoidSymbol ]};

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ pkgs, asahi-firmware, ... }: { pkgs, pkgs-unstable, asahi-firmware, ... }:
{ config, ... }: { config, ... }:
{ {
@ -27,5 +27,11 @@
device = "/swap"; device = "/swap";
size = 16 * 1024; # 16GB size = 16 * 1024; # 16GB
}]; }];
environment.systemPackages = (with pkgs-unstable; [
renoise
]) ++ (with pkgs; [
prismlauncher
]);
} }

View File

@ -1,7 +1,15 @@
{ {
pkgs, pkgs,
tiny-dfr ? pkgs.tiny-dfr
}: }:
let tiny-dfr = pkgs.tiny-dfr.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "xeniagda";
repo = "tiny-dfr";
rev = "master";
hash = "sha256-I2R28wQz4Vd8VonbDcM6TZOn5lnWSXqwX4w/sieaQL8=";
};
});
in
assert tiny-dfr.version == "0.3.1"; assert tiny-dfr.version == "0.3.1";
{ {
services.udev.packages = [ tiny-dfr ]; services.udev.packages = [ tiny-dfr ];
@ -17,6 +25,7 @@
ExecStart = "${tiny-dfr}/bin/tiny-dfr"; ExecStart = "${tiny-dfr}/bin/tiny-dfr";
Restart = "always"; Restart = "always";
}; };
restartIfChanged = true;
}; };
environment.etc."tiny-dfr/next-workspace.svg".source = ./tiny-dfr-icons/next-workspace.svg; environment.etc."tiny-dfr/next-workspace.svg".source = ./tiny-dfr-icons/next-workspace.svg;
environment.etc."tiny-dfr/prev-workspace.svg".source = ./tiny-dfr-icons/prev-workspace.svg; environment.etc."tiny-dfr/prev-workspace.svg".source = ./tiny-dfr-icons/prev-workspace.svg;
@ -64,5 +73,12 @@
{ Text = "F11"; Action = "F11"; } { Text = "F11"; Action = "F11"; }
{ Text = "F12"; Action = "F12"; } { Text = "F12"; Action = "F12"; }
]; ];
ButtonStyle = {
InactiveColor = [0.05 0.0 0.1];
ActiveColor = [0.7 0.5 0.8];
OnTime = 0.03;
OffTime = 0.1;
Bounce = 5;
};
}; };
} }