Compare commits

..

4 commits

3 changed files with 37 additions and 13 deletions

View file

@ -24,11 +24,11 @@
}, },
"bleedingpkgs": { "bleedingpkgs": {
"locked": { "locked": {
"lastModified": 1723085441, "lastModified": 1723158063,
"narHash": "sha256-gtq9bsIClTM+r4+s4d1TTRmokSjHhbhPtXAB49gMmE8=", "narHash": "sha256-NUytLZ5S9e6hSXT26vkzNVLAspSCmGwv56B70OLwN/I=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9819e5bee2aa652b2adff29e315c0bcb43bba253", "rev": "c3f597a01377828852d50675d3adb2d431e565e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -257,11 +257,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1723075010, "lastModified": 1723161257,
"narHash": "sha256-fP/kUPFaGqXngYdt00AHMqtW9WfHnJs2AKn/k+eIOfE=", "narHash": "sha256-NVsL5LuVKvaJNFbJ0bprSMYx3lCIcjg6+vle+s9c6OE=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "2edb524ed461070a85275a57b83b13978874f0ac", "rev": "7663b3da6f5ad2a6385a673efa1fba602ccc48e4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -273,11 +273,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1723084395, "lastModified": 1723161647,
"narHash": "sha256-pru1vXpfZvYuLLb+OBjzZz1SmMLQ3p1sFIyjOoyQ5tY=", "narHash": "sha256-hlQhWugG+V77ISXKVmmniyk8KibhKa1brL6YbnJS/JI=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "7d7313c13800df50d0c27c5fbf6d640134c88d34", "rev": "67b147964104c2c443265917d356957940f141d4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -165,6 +165,31 @@
environment.variables = { environment.variables = {
EDITOR = "nvim"; EDITOR = "nvim";
NIX_AUTO_RUN = 1; NIX_AUTO_RUN = 1;
};
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "esc";
leftmeta = "leftcontrol";
leftalt = "leftmeta";
leftcontrol = "leftalt";
rightmeta = "leftalt";
rightalt = "layer(rightalt)";
};
rightalt = {
i = "up";
j = "left";
k = "down";
l = "right";
};
};
};
};
}; };
# tells electron apps to use Wayland # tells electron apps to use Wayland

View file

@ -195,6 +195,9 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.zsh.enable = false;
programs.fish.enable = true;
users.users.youwen.shell = pkgs.fish;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave
@ -202,8 +205,4 @@
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
programs.zsh.enable = false;
programs.fish.enable = true;
users.users.youwen.shell = pkgs.fish;
} }