move sway home-manager options to their own module
This commit is contained in:
@@ -1,33 +1,22 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./pass.nix
|
./pass.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = [
|
home.packages = with pkgs; [
|
||||||
pkgs.alacritty
|
discord
|
||||||
pkgs.tofi
|
seahorse
|
||||||
pkgs.i3status-rust
|
|
||||||
pkgs.wlsunset
|
|
||||||
|
|
||||||
pkgs.discord
|
wl-clipboard
|
||||||
|
|
||||||
pkgs.seahorse
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.alacritty.enable = true;
|
|
||||||
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
|
|
||||||
|
|
||||||
xdg.configFile = {
|
|
||||||
"sway".source = "${config.dotfiles.path}/.config/sway";
|
|
||||||
"i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust";
|
|
||||||
"tofi/config".source = "${config.dotfiles.path}/.config/tofi/config";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
package = pkgs.capitaine-cursors;
|
package = pkgs.capitaine-cursors;
|
||||||
name = "capitaine-cursors";
|
name = "capitaine-cursors";
|
||||||
|
size = 48;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
22
home/desktop/sway.nix
Normal file
22
home/desktop/sway.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
alacritty
|
||||||
|
tofi
|
||||||
|
i3status-rust
|
||||||
|
mako
|
||||||
|
wlsunset
|
||||||
|
kanshi
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile = {
|
||||||
|
"sway".source = "${config.dotfiles.path}/.config/sway";
|
||||||
|
"i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust";
|
||||||
|
"tofi/config".source = "${config.dotfiles.path}/.config/tofi/config";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.alacritty.enable = true;
|
||||||
|
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
|
||||||
|
}
|
||||||
@@ -7,5 +7,7 @@
|
|||||||
../../home/dotfiles.nix
|
../../home/dotfiles.nix
|
||||||
../../home/helix.nix
|
../../home/helix.nix
|
||||||
../../home/minecraft.nix
|
../../home/minecraft.nix
|
||||||
|
../../home/desktop
|
||||||
|
../../home/desktop/sway.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user