Compare commits
2 Commits
47d9c12a8f
...
59892a5981
Author | SHA1 | Date | |
---|---|---|---|
59892a5981 | |||
66dd36235b |
@ -72,6 +72,7 @@
|
||||
freetube
|
||||
nextcloud-client
|
||||
discord
|
||||
nix-prefetch-github # Cmd to get rev and hash from GitHub
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
@ -103,15 +104,10 @@
|
||||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
|
||||
security = {
|
||||
# Adds Swaylock to /etc/pam.d
|
||||
pam.services.swaylock = { };
|
||||
};
|
||||
|
||||
services = {
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
autoNumlock = true; # Enable numlock at login
|
||||
autoNumlock = true; # Enable numlock at login # TODO doesn't work
|
||||
wayland.enable = true;
|
||||
};
|
||||
|
||||
|
@ -9,6 +9,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
./fish.nix
|
||||
./nixvim
|
||||
./rofi
|
||||
./wlogout
|
||||
@ -37,11 +38,6 @@ in
|
||||
home-manager.enable = true;
|
||||
|
||||
kitty.enable = true;
|
||||
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
26
home/fish.nix
Normal file
26
home/fish.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ 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)) // { };
|
||||
};
|
||||
};
|
||||
}
|
@ -10,4 +10,9 @@
|
||||
];
|
||||
|
||||
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
programs.kitty = {
|
||||
settings = {
|
||||
window_padding_width = 10;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -25,10 +25,7 @@
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": false,
|
||||
"sort-by-name": true,
|
||||
"format": " {id} ",
|
||||
"format-icons": {
|
||||
"default": ""
|
||||
}
|
||||
"format": " {id} "
|
||||
},
|
||||
"hyprland/window": {},
|
||||
"tray": {
|
||||
@ -36,7 +33,7 @@
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/music": {
|
||||
"format": " {}",
|
||||
"format": " {}",
|
||||
"escape": true,
|
||||
"interval": 5,
|
||||
"tooltip": false,
|
||||
|
@ -1,8 +1,8 @@
|
||||
@import "mocha.css";
|
||||
|
||||
* {
|
||||
font-family: FantasqueSansMono Nerd Font;
|
||||
font-size: 17px;
|
||||
font-family: JetBrainsMono Nerd Font;
|
||||
font-size: 15px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
@ -14,9 +14,8 @@
|
||||
|
||||
#workspaces {
|
||||
border-radius: 1rem;
|
||||
margin: 5px;
|
||||
background-color: @surface0;
|
||||
margin-left: 1rem;
|
||||
margin: 5px 5px 5px 1rem;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
@ -83,19 +82,19 @@
|
||||
}
|
||||
|
||||
#custom-lock {
|
||||
border-radius: 1rem 0px 0px 1rem;
|
||||
border-radius: 1rem 0 0 1rem;
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-right: 1rem;
|
||||
border-radius: 0px 1rem 1rem 0px;
|
||||
border-radius: 0 1rem 1rem 0;
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#custom-notification {
|
||||
margin-right: 1rem;
|
||||
border-radius: 0px 1rem 1rem 0px;
|
||||
border-radius: 0 1rem 1rem 0;
|
||||
color: @sapphire;
|
||||
}
|
||||
|
||||
|
@ -17,8 +17,12 @@
|
||||
enable = true;
|
||||
# Start starship when creating a new shell
|
||||
interactiveShellInit = ''
|
||||
starship init fish | source
|
||||
starship init fish | source
|
||||
'';
|
||||
shellAliases = {
|
||||
# Transfer shell config to target device
|
||||
ssh = "kitty +kitten ssh";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user