Switch from Plasma to Hyprland
This commit is contained in:
parent
4b86cb2680
commit
174bdae3c1
@ -56,8 +56,8 @@
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
#services.displayManager.sddm.enable = true;
|
||||
#services.desktopManager.plasma6.enable = true;
|
||||
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
@ -89,6 +89,8 @@
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
programs.firefox.enable = true;
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland.package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
@ -2,6 +2,7 @@
|
||||
description = "joey@joey-laptop";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
@ -9,8 +9,24 @@
|
||||
];
|
||||
home.file = {};
|
||||
home.sessionVariables = {};
|
||||
programs.home-manager.enable = true;
|
||||
wayland.windowManager.hyprland.enable = false;
|
||||
|
||||
# Programs
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
decoration = {
|
||||
shadow_offset = "0 5";
|
||||
"col.shadow" = "rgba(00000099)";
|
||||
};
|
||||
"$mod" = "SUPER";
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
"$mod, ALT, mouse:272, resizewindow"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
@ -22,6 +38,8 @@
|
||||
enable = true;
|
||||
dotDir = ".config/zsh";
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
autosuggestion.strategy = [ "history" ];
|
||||
initExtra = ''
|
||||
bindkey -e
|
||||
bindkey '^[[1;5D' backward-word
|
||||
@ -66,5 +84,9 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.home-manager = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user