Compare commits

..

No commits in common. "577f4f45e62e19114da4a1cb41424caa6e497d4e" and "1cd5c82dc5ef65ccf12ec62f1a58655af2ef6404" have entirely different histories.

3 changed files with 2 additions and 39 deletions

View file

@ -64,14 +64,6 @@ in
nki.programs.discord.enable = pkgs.stdenv.isx86_64; nki.programs.discord.enable = pkgs.stdenv.isx86_64;
# Yellow light!
services.wlsunset = {
enable = pkgs.stdenv.isx86_64;
# Lausanne
latitude = "46.31";
longitude = "6.38";
};
# Cursor # Cursor
home.pointerCursor = { home.pointerCursor = {

View file

@ -22,8 +22,6 @@
zip zip
# TeX # TeX
texlive.combined.scheme-full texlive.combined.scheme-full
# Note-taking
rnote
# Java & sbt # Java & sbt
openjdk11 openjdk11
@ -39,34 +37,14 @@
programs.my-sway.fontSize = 14.0; programs.my-sway.fontSize = 14.0;
programs.my-sway.terminal = "${config.programs.kitty.package}/bin/kitty"; programs.my-sway.terminal = "${config.programs.kitty.package}/bin/kitty";
programs.my-sway.browser = "librewolf"; programs.my-sway.browser = "librewolf";
# Keyboard support
wayland.windowManager.sway.config = { wayland.windowManager.sway.config = {
# Keyboard support
input."*".xkb_layout = "jp"; input."*".xkb_layout = "jp";
input."1278:34:HHKB-Hybrid_3_Keyboard".xkb_layout = "jp"; input."1278:34:HHKB-Hybrid_3_Keyboard".xkb_layout = "jp";
input."1:1:AT_Translated_Set_2_keyboard" = { input."1:1:AT_Translated_Set_2_keyboard" = {
xkb_options = "ctrl:swapcaps"; xkb_options = "ctrl:swapcaps";
# xkb_layout = "us";
}; };
startup = [
# rotation
(
let
iio-sway = pkgs.stdenv.mkDerivation {
name = "iio-sway";
version = "0.0.1";
src = pkgs.fetchFromGitHub {
owner = "okeri";
repo = "iio-sway";
rev = "e07477d1b2478fede1446e97424a94c80767819d";
hash = "sha256-JGacKajslCOvd/BFfFSf7s1/hgF6rJqJ6H6xNnsuMb4=";
};
buildInputs = with pkgs; [ dbus ];
nativeBuildInputs = with pkgs; [ meson ninja pkg-config ];
};
in
{ command = "${iio-sway}/bin/iio-sway"; }
)
];
}; };
# input-remapping # input-remapping
xdg.configFile."autostart/input-remapper-autoload.desktop".source = xdg.configFile."autostart/input-remapper-autoload.desktop".source =

View file

@ -32,13 +32,6 @@
{ device = "/var/swapfile"; size = 32 * 1024; } { device = "/var/swapfile"; size = 32 * 1024; }
]; ];
boot.blacklistedKernelModules = [
# Disable modem because it locks up suspend
"mtk_t7xx"
];
hardware.sensor.iio.enable = true; # Orientaion and ambient light sensors
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction