Disable home module until proper dotfile migration
This commit is contained in:
parent
3b65c57b30
commit
b2cf386dfe
@ -81,7 +81,7 @@
|
||||
./modules/gui.nix
|
||||
./modules/datasync.nix
|
||||
./modules/audio.nix
|
||||
./modules/home.nix
|
||||
#./modules/home.nix
|
||||
./modules/hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
imv
|
||||
kanshi
|
||||
redshift-wlr
|
||||
kitty
|
||||
];
|
||||
extraSessionCommands = ''
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
@ -41,7 +42,39 @@
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
'';
|
||||
};
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
input = { * = {xkb_layout = "es"}; };
|
||||
menu = "rofi -show drun";
|
||||
terminal = "kitty";
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+Return" = "exec ${terminal}";
|
||||
"${modifier}+w" = "kill";
|
||||
"${modifier}+d" = "exec ${menu}";
|
||||
};
|
||||
startup = [
|
||||
{command = "kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml"; workspace = "1";}
|
||||
{command = "firefox"; workspace = "2";}
|
||||
{command = "emacs"; workspace = "3";}
|
||||
];
|
||||
window.commands = [
|
||||
{command = "floating enable"; criteria = {class = "mpv";} ; }
|
||||
{command = "floating enable"; criteria = {class = "imv";} ; }
|
||||
];
|
||||
workspaceAutoBackAndForth = true;
|
||||
};
|
||||
extraSessionCommands = ''
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export MOZ_DBUS_REMOTE=1
|
||||
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
'';
|
||||
};
|
||||
|
||||
# Blue light filter
|
||||
services.redshift = {
|
||||
package = pkgs.redshift-wlr;
|
||||
|
@ -1,16 +1,5 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
# Doom emacs overlay
|
||||
let
|
||||
|
||||
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
|
||||
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
|
||||
}) {
|
||||
doomPrivateDir = ./doom.d;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
# User packages
|
||||
home.packages = [
|
||||
|
@ -1,5 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
# Doom emacs overlay
|
||||
let
|
||||
|
||||
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
|
||||
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
|
||||
}) {
|
||||
doomPrivateDir = ./doom.d;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Monitoring
|
||||
@ -14,8 +25,16 @@
|
||||
# LaTeX
|
||||
texlive.combined.scheme-full
|
||||
pandoc
|
||||
# Declarative user config
|
||||
home-manager
|
||||
# Text editors
|
||||
doom-emacs
|
||||
neovim
|
||||
# Terminals
|
||||
tmux
|
||||
tmuxp
|
||||
# Development
|
||||
git
|
||||
direnv
|
||||
lorri
|
||||
];
|
||||
|
||||
# Fonts declaration
|
||||
|
Loading…
Reference in New Issue
Block a user