Added starship (but it's a fail) and some programs
This commit is contained in:
parent
a5c9298cda
commit
bef5b0a873
4 changed files with 72 additions and 10 deletions
|
@ -20,6 +20,8 @@
|
||||||
"$mod, F, fullscreen, 1"
|
"$mod, F, fullscreen, 1"
|
||||||
"$mod SHIFT, F, fullscreen"
|
"$mod SHIFT, F, fullscreen"
|
||||||
|
|
||||||
|
"$mod, code:65, exec, rofi -show run"
|
||||||
|
|
||||||
# Move to workspace
|
# Move to workspace
|
||||||
"$mod, code:10, workspace, 1"
|
"$mod, code:10, workspace, 1"
|
||||||
"$mod, code:11, workspace, 2"
|
"$mod, code:11, workspace, 2"
|
||||||
|
@ -41,6 +43,10 @@
|
||||||
"$mod SHIFT, code:16, movetoworkspace, 7"
|
"$mod SHIFT, code:16, movetoworkspace, 7"
|
||||||
"$mod SHIFT, code:17, movetoworkspace, 8"
|
"$mod SHIFT, code:17, movetoworkspace, 8"
|
||||||
"$mod SHIFT, code:18, movetoworkspace, 9"
|
"$mod SHIFT, code:18, movetoworkspace, 9"
|
||||||
|
|
||||||
|
# Move to adjacent workspaces
|
||||||
|
"$mod, code:113, workspace, -1"
|
||||||
|
"$mod, code:114, workspace, +1"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
|
|
34
commons/home-manager/starship.nix
Normal file
34
commons/home-manager/starship.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ ... }: {
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
format = "$username@$hostname:$directory($cmd_duration)$character";
|
||||||
|
|
||||||
|
directory = {
|
||||||
|
style = "blue";
|
||||||
|
};
|
||||||
|
|
||||||
|
character = {
|
||||||
|
success_symbol = "[❯](purple)";
|
||||||
|
error_symbol = "[❯](red)";
|
||||||
|
vimcmd_symbol = "[❮](green)";
|
||||||
|
};
|
||||||
|
|
||||||
|
cmd_duration = {
|
||||||
|
format = "[$duration]($style) ";
|
||||||
|
style = "yellow";
|
||||||
|
};
|
||||||
|
|
||||||
|
username = {
|
||||||
|
format = "[$user](bold white)";
|
||||||
|
};
|
||||||
|
|
||||||
|
hostname = {
|
||||||
|
ssh_only = false;
|
||||||
|
format = "[$hostname](bold red)";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -68,6 +68,7 @@
|
||||||
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
# set the flake package
|
# set the flake package
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
# make sure to also set the portal package, so that they are in sync
|
# make sure to also set the portal package, so that they are in sync
|
||||||
|
@ -103,11 +104,8 @@
|
||||||
users.users.zuma = {
|
users.users.zuma = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "zuma";
|
description = "zuma";
|
||||||
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [
|
|
||||||
kdePackages.kate
|
|
||||||
# thunderbird
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
@ -121,29 +119,52 @@
|
||||||
services.xserver.displayManager.autoLogin.enable = true;
|
services.xserver.displayManager.autoLogin.enable = true;
|
||||||
services.xserver.displayManager.autoLogin.user = "zuma";
|
services.xserver.displayManager.autoLogin.user = "zuma";
|
||||||
|
|
||||||
|
services.getty.autologinUser = "zuma";
|
||||||
|
|
||||||
environment.sessionVariables = rec {
|
environment.sessionVariables = rec {
|
||||||
XCURSOR_SIZE = 24;
|
XCURSOR_SIZE = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Install firefox.
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"cinny-4.2.3"
|
||||||
|
"cinny-unwrapped-4.2.3"
|
||||||
|
];
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
# GUIs
|
||||||
|
gnome-keyring # Keyring for secrets
|
||||||
|
seahorse # To edit said secrets
|
||||||
|
networkmanagerapplet # To get wifi to work -> Go into wifi connection and select store password for all users
|
||||||
|
bitwarden-desktop # For my sweet passwords
|
||||||
|
rofi-wayland # Application launcher
|
||||||
|
xfce.thunar # GUI Filebrowser
|
||||||
|
xfce.xfconf # needed by xfce.thunar
|
||||||
|
kitty # Hyprland default terminal
|
||||||
|
firefox # Web browser
|
||||||
|
cinny-desktop # Matrix Client
|
||||||
|
eog # Image viewer
|
||||||
|
|
||||||
|
# Shell apps
|
||||||
|
zsh
|
||||||
|
starship # Might delete later
|
||||||
neovim # <3
|
neovim # <3
|
||||||
git # <3 bis
|
git # <3 bis
|
||||||
kitty # Hyprland default terminal
|
btop # HTOP on steroids
|
||||||
|
|
||||||
xfce.thunar # GUI Filebrowser
|
# Utilities
|
||||||
|
wl-clipboard # Clipboard manager
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.xfconf.enable = true; # Enable xfconf because we don't use XFCE
|
|
||||||
services.gvfs.enable = true; # Enable Trash so that if I delete my nix files without having saved them I can backup .........
|
services.gvfs.enable = true; # Enable Trash so that if I delete my nix files without having saved them I can backup .........
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
services.tumbler.enable = true; # Thumbnail support
|
services.tumbler.enable = true; # Thumbnail support
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
security.pam.services.hyprland.enableGnomeKeyring = true;
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../commons/home-manager/hyprland.nix
|
../../commons/home-manager/hyprland.nix
|
||||||
|
../../commons/home-manager/starship.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
# Home Manager can also manage your environment variables through
|
||||||
|
|
Loading…
Reference in a new issue