hyperpaper

This commit is contained in:
2023-08-08 14:41:33 +02:00
parent 8e34b7d8f3
commit a5208fedba
6 changed files with 93 additions and 2 deletions

View File

@ -2,6 +2,7 @@
boot.loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
};
efi.canTouchEfiVariables = true;
};

View File

@ -11,7 +11,9 @@
./packages.nix
./pipewire.nix
./security.nix
./starship.nix
./system.nix
./systemd.nix
./user.nix
./timezone.nix
./waybar.nix

View File

@ -2,7 +2,9 @@
environment.systemPackages = with pkgs; [
brightnessctl
git
jq
neofetch
ripgrep # rg in home/hyprland.nix
swww
tree
wget

74
modules/starship.nix Normal file
View File

@ -0,0 +1,74 @@
{
programs.starship = {
enable = true;
settings = {
add_newline = false;
directory = {
style = "purple";
read_only = " ro";
};
git_branch = {
style = "yellow";
symbol = "";
};
character = {
success_symbol = "[>](red)[>](green)[>](blue)";
error_symbol = "[>](cyan)[>](purple)[>](yellow)";
vicmd_symbol = "[<](bold green)";
};
line_break.disabled = true;
nodejs = {
format = "with [$symbol($version )]($style)";
symbol = "node ";
version_format = "\${major}";
disabled = true;
};
git_commit.tag_symbol = " tag ";
git_status = {
ahead = ">";
behind = "<";
diverged = "<>";
renamed = "r";
deleted = "x";
};
aws.symbol = "aws ";
cobol.symbol = "cobol ";
conda.symbol = "conda ";
crystal.symbol = "cr ";
cmake.symbol = "cmake ";
dart.symbol = "dart ";
deno.symbol = "deno ";
dotnet.symbol = ".NET ";
docker_context.symbol = "docker ";
elixir.symbol = "exs ";
elm.symbol = "elm ";
golang.symbol = "go ";
hg_branch.symbol = "hg ";
java.symbol = "java ";
julia.symbol = "jl ";
kotlin.symbol = "kt ";
memory_usage.symbol = "memory ";
nim.symbol = "nim ";
nix_shell.symbol = "nix ";
ocaml.symbol = "ml ";
package.symbol = "pkg ";
perl.symbol = "pl ";
php.symbol = "php ";
purescript.symbol = "purs ";
python.symbol = "python ";
ruby.symbol = "ruby ";
rust.symbol = "rust ";
scala.symbol = "scala ";
swift.symbol = "swift ";
};
};
}

6
modules/systemd.nix Normal file
View File

@ -0,0 +1,6 @@
{
systemd = {
extraConfig = "DefaultTimeoutStopSec = 10s";
services.NetworkManager-wait-online.enable = false;
};
}