Compare commits

...

3 Commits

Author SHA1 Message Date
5289d8847b [sway] Fix/add caps:escape option 2024-09-10 10:50:31 -07:00
d9e5fdb0df Merge i3+sway configs 2024-09-10 10:50:31 -07:00
fb8431da2d Flatten home modules 2024-09-10 10:50:31 -07:00
17 changed files with 33 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }:
let
nextcloudTalkDesktop = pkgs.callPackage ./modules/applications/nextcloud-talk-desktop/package.nix {};
nextcloudTalkDesktop = pkgs.callPackage ./modules/nextcloud-talk-desktop/package.nix {};
in
{
# Home Manager needs a bit of information about you and the paths it should
@@ -106,10 +106,9 @@ in
nixpkgs.config.allowUnfree = true;
imports = [
./modules/applications/emacs
./modules/games/lutris
./modules/window_managers/i3
./modules/window_managers/sway
./modules/emacs
./modules/lutris
./modules/i3+sway
];
programs.bash.enable = true;

View File

@@ -3,6 +3,6 @@
{
imports = [
./home-default.nix
./modules/window_managers/hyprland/nix-book.nix
./modules/hyprland/nix-book.nix
];
}

View File

@@ -3,6 +3,6 @@
{
imports = [
./home-default.nix
./modules/window_managers/hyprland/z790prors.nix
./modules/hyprland/z790prors.nix
];
}

View File

Before

Width:  |  Height:  |  Size: 842 KiB

After

Width:  |  Height:  |  Size: 842 KiB

View File

@@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
with lib;
let
shared_config = {
modifier = "Mod4";
terminal = "kitty";
defaultWorkspace = "workspace number 1";
};
in {
xsession.windowManager.i3 = {
enable = true;
config = shared_config;
};
wayland.windowManager.sway = {
enable = true;
config = recursiveUpdate shared_config {
input = {
"type:keyboard" = {
xkb_options = "caps:escape";
};
};
};
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }:
{
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = "Mod4";
terminal = "kitty";
defaultWorkspace = "workspace number 1";
};
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }:
{
wayland.windowManager.sway = {
enable = true;
config = {
modifier = "Mod4";
terminal = "kitty";
defaultWorkspace = "workspace number 1";
};
};
}