Compare commits

..

No commits in common. "59892a5981851caf15854c27e1f5e5f5e325d6e9" and "47d9c12a8f89a370af5c026a3f2443fb6045afe3" have entirely different histories.

7 changed files with 24 additions and 47 deletions

View File

@ -72,7 +72,6 @@
freetube freetube
nextcloud-client nextcloud-client
discord discord
nix-prefetch-github # Cmd to get rev and hash from GitHub
]; ];
nix.settings.experimental-features = [ nix.settings.experimental-features = [
@ -104,10 +103,15 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
security = {
# Adds Swaylock to /etc/pam.d
pam.services.swaylock = { };
};
services = { services = {
displayManager.sddm = { displayManager.sddm = {
enable = true; enable = true;
autoNumlock = true; # Enable numlock at login # TODO doesn't work autoNumlock = true; # Enable numlock at login
wayland.enable = true; wayland.enable = true;
}; };

View File

@ -9,7 +9,6 @@ in
{ {
imports = [ imports = [
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
./fish.nix
./nixvim ./nixvim
./rofi ./rofi
./wlogout ./wlogout
@ -38,6 +37,11 @@ in
home-manager.enable = true; home-manager.enable = true;
kitty.enable = true; kitty.enable = true;
starship = {
enable = true;
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
};
}; };
services = { services = {

View File

@ -1,26 +0,0 @@
{ pkgs, ... }:
{
programs = {
fish = {
enable = true;
plugins = [
{
# !! to get the previous command
name = "fishbang";
src = pkgs.fetchFromGitHub {
owner = "BrewingWeasel";
repo = "fishbang";
rev = "50389667eb9ac79edcff9b987c83e1de8ac93921";
hash = "sha256-IneNWyfo29C7FDA5b6pTZRX3HpP6y/dRM6GXuLq2+zc=";
};
}
];
};
starship = {
enable = true;
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
};
};
}

View File

@ -10,9 +10,4 @@
]; ];
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf; home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
programs.kitty = {
settings = {
window_padding_width = 10;
};
};
} }

View File

@ -25,7 +25,10 @@
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": false, "disable-scroll": false,
"sort-by-name": true, "sort-by-name": true,
"format": " {id} " "format": " {id} ",
"format-icons": {
"default": ""
}
}, },
"hyprland/window": {}, "hyprland/window": {},
"tray": { "tray": {
@ -33,7 +36,7 @@
"spacing": 10 "spacing": 10
}, },
"custom/music": { "custom/music": {
"format": "󰓃 {}", "format": " {}",
"escape": true, "escape": true,
"interval": 5, "interval": 5,
"tooltip": false, "tooltip": false,

View File

@ -1,8 +1,8 @@
@import "mocha.css"; @import "mocha.css";
* { * {
font-family: JetBrainsMono Nerd Font; font-family: FantasqueSansMono Nerd Font;
font-size: 15px; font-size: 17px;
min-height: 0; min-height: 0;
} }
@ -14,8 +14,9 @@
#workspaces { #workspaces {
border-radius: 1rem; border-radius: 1rem;
margin: 5px;
background-color: @surface0; background-color: @surface0;
margin: 5px 5px 5px 1rem; margin-left: 1rem;
} }
#workspaces button { #workspaces button {
@ -82,19 +83,19 @@
} }
#custom-lock { #custom-lock {
border-radius: 1rem 0 0 1rem; border-radius: 1rem 0px 0px 1rem;
color: @lavender; color: @lavender;
} }
#custom-power { #custom-power {
margin-right: 1rem; margin-right: 1rem;
border-radius: 0 1rem 1rem 0; border-radius: 0px 1rem 1rem 0px;
color: @red; color: @red;
} }
#custom-notification { #custom-notification {
margin-right: 1rem; margin-right: 1rem;
border-radius: 0 1rem 1rem 0; border-radius: 0px 1rem 1rem 0px;
color: @sapphire; color: @sapphire;
} }

View File

@ -19,10 +19,6 @@
interactiveShellInit = '' interactiveShellInit = ''
starship init fish | source starship init fish | source
''; '';
shellAliases = {
# Transfer shell config to target device
ssh = "kitty +kitten ssh";
};
}; };
}; };
} }