aaaaahhhh, wei forgot to do regular commits, whoopsies, have a look at the changes yourselves
This commit is contained in:
parent
be46733d6a
commit
22d2c1a713
23 changed files with 439 additions and 81 deletions
17
home/desktop/default.nix
Normal file
17
home/desktop/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
|
||||
imports = [
|
||||
./hyprland
|
||||
# ./dunst
|
||||
# ./fish
|
||||
./git
|
||||
./hyprland
|
||||
./kitty
|
||||
# ./micro
|
||||
# ./rofi
|
||||
# ./starship
|
||||
# ./stylix
|
||||
./waybar
|
||||
];
|
||||
|
||||
}
|
||||
21
home/desktop/git/default.nix
Normal file
21
home/desktop/git/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "serenity-F";
|
||||
userEmail = "serenity-amalgam@protonmail.com";
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.gh
|
||||
pkgs.git-lfs
|
||||
];
|
||||
|
||||
}
|
||||
45
home/desktop/hyprland/default.nix
Normal file
45
home/desktop/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ config, lib, pkgs, osConfig, ... }
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
./hyprland-environment.nix
|
||||
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
waybar
|
||||
];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemdIntegration = true;
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
bind = [
|
||||
"$mod, F, exec, firefox"
|
||||
", Print, exec, grimblast copy area"
|
||||
] ++ ( # workspaces
|
||||
# binds $mod + [shift+] {1..10} to [move to] workspace {1..10}
|
||||
builtins.concatLists (builtins.genList (
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 10;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 10));
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
]
|
||||
)
|
||||
10)
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
}
|
||||
20
home/desktop/hyprland/environment.nix
Normal file
20
home/desktop/hyprland/environment.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
home = {
|
||||
|
||||
sessionVariables = {
|
||||
EDITOR = "micro";
|
||||
BROWSER = "firefox";
|
||||
TERMINAL = "kitty";
|
||||
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_DESKTOP - "Hyprland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
39
home/desktop/kitty/default.nix
Normal file
39
home/desktop/kitty/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
# theme = "insert-theme"
|
||||
|
||||
# font = {
|
||||
# name = "insert-font"
|
||||
# size = 12
|
||||
# };
|
||||
|
||||
settings ={
|
||||
confirm_os_window_close = 0;
|
||||
background_opacity = "0.55";
|
||||
window_padding_width = 10;
|
||||
scrollback_lines = 10000;
|
||||
enable_audio_bell = false;
|
||||
mouse_hide_wait = 60;
|
||||
tab_title_template = "{index}";
|
||||
active_tab_font_style = "normal";
|
||||
inactive_tab_font_style = "normal";
|
||||
tab_bar_style = "powerline";
|
||||
tab_powerline_style = "round";
|
||||
active_tab_foreground = "#1e1e2e";
|
||||
active_tab_background = "#cba6f7";
|
||||
inactive_tab_foreground = "#bac2de";
|
||||
inactive_tab_background = "#313244";
|
||||
};
|
||||
|
||||
keybindings = {
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue