fix syntax
This commit is contained in:
parent
be430a28ff
commit
ab0c003350
14 changed files with 136 additions and 39 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -89,6 +89,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprwm-contrib": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1690635289,
|
||||||
|
"narHash": "sha256-ec77Yf7mqusmGkxrmYXEG4D0DqEcNRA3vFextWVQOVA=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "contrib",
|
||||||
|
"rev": "bef073cff65917ba2d888aa4dc39bd9868e2b0a4",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "contrib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-colors": {
|
"nix-colors": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"base16-schemes": "base16-schemes",
|
"base16-schemes": "base16-schemes",
|
||||||
|
|
@ -144,6 +164,7 @@
|
||||||
"firefox-addons": "firefox-addons",
|
"firefox-addons": "firefox-addons",
|
||||||
"hardware": "hardware",
|
"hardware": "hardware",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"hyprwm-contrib": "hyprwm-contrib",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@
|
||||||
|
|
||||||
homeManagerModules = import ./modules/home-manager;
|
homeManagerModules = import ./modules/home-manager;
|
||||||
|
|
||||||
wallpapers = import ./home/ooks/wallpapers
|
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# X1 Carbon
|
# X1 Carbon
|
||||||
ooksx1 = lib.nixosSystem {
|
ooksx1 = lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ inputs, outputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,8 @@
|
||||||
../standard/wayland
|
../standard/wayland
|
||||||
|
|
||||||
./tty-init.nix
|
./tty-init.nix
|
||||||
./basic-binds.nix
|
./binds.nix
|
||||||
./systemd-fixes.nix
|
./systemd-fix.nix
|
||||||
];
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
inputs.hyprwm-contrib.grimblast
|
|
||||||
hyprslurp
|
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
|
@ -74,7 +69,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
exec = [
|
exec = [
|
||||||
need to fix "${pkgs.swaybg}/bin/swaybg -i ~/.dotfiles/walls/everforest/megacity.png --mode fill"
|
"${pkgs.swaybg}/bin/swaybg -i ~/.dotfiles/walls/everforest/megacity.png --mode fill"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
monospace = {
|
monospace = {
|
||||||
family = "JetBrainsMono Nerd Font";
|
family = "JetBrainsMono Nerd Font";
|
||||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrains" ]; };
|
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||||
};
|
};
|
||||||
regular = {
|
regular = {
|
||||||
family = "Fira Sans";
|
family = "Fira Sans";
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,5 @@
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme = "gtk";
|
platformTheme = "gtk";
|
||||||
style = {
|
|
||||||
name = "gtk2";
|
|
||||||
package = pkgs.qt6gtk2;
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,13 @@
|
||||||
xdg.mimeApps.enable = true;
|
xdg.mimeApps.enable = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
grim
|
grim
|
||||||
mkv
|
mpv
|
||||||
gtk3
|
gtk3
|
||||||
pulseaudio
|
pulseaudio
|
||||||
slurp
|
slurp
|
||||||
wf-recorder
|
wf-recorder
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wl-mirror
|
wl-mirror
|
||||||
wl-mirror-pick
|
|
||||||
xdg-utils
|
xdg-utils
|
||||||
ydotool
|
ydotool
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ let
|
||||||
addons = inputs.firefox-addons.packages.${pkgs.system};
|
addons = inputs.firefox-addons.packages.${pkgs.system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs.browserpass.enable = true;
|
programs.browserpass.enable = true;
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -12,7 +13,6 @@ in
|
||||||
extensions = with addons; [
|
extensions = with addons; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
browserpass
|
browserpass
|
||||||
onepassword-password-manager
|
|
||||||
stylus
|
stylus
|
||||||
surfingkeys
|
surfingkeys
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
diffsitter # Better diff
|
diffsitter # Better diff
|
||||||
jq # JSON pretty printer and manipulator
|
jq # JSON pretty printer and manipulator
|
||||||
lazygit
|
lazygit
|
||||||
nix-inspect # See which pkgs are in your PATH
|
|
||||||
comma # Install and run with ","
|
comma # Install and run with ","
|
||||||
btop
|
btop
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ in
|
||||||
fish_greeting = "";
|
fish_greeting = "";
|
||||||
};
|
};
|
||||||
# kitty integration
|
# kitty integration
|
||||||
|
interactiveShellInit =
|
||||||
''
|
''
|
||||||
set --global KITTY_INSTALLATION_DIR "${pkgs.kitty}/lib/kitty"
|
set --global KITTY_INSTALLATION_DIR "${pkgs.kitty}/lib/kitty"
|
||||||
set --global KITTY_SHELL_INTEGRATION enabled
|
set --global KITTY_SHELL_INTEGRATION enabled
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{ pkgs, config, ... }:
|
||||||
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitAndTools.gitFull;
|
package = pkgs.gitAndTools.gitFull;
|
||||||
userName = ooks-io;
|
userName = "ooks-io";
|
||||||
userEmail = ooks@protonmail.com;
|
userEmail = "ooks@protonmail.com";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,104 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs = {
|
programs.starship = {
|
||||||
starship = {
|
enable = true;
|
||||||
enable = true;
|
settings = {
|
||||||
setting = {
|
format =
|
||||||
character = {
|
let
|
||||||
success_symbol = "[➜](bold green)";
|
git = "$git_branch$git_commit$git_state$git_status";
|
||||||
error_symbol = "[➜](bold red)";
|
cloud = "$aws$gcloud$openstack";
|
||||||
}
|
in
|
||||||
}
|
''
|
||||||
|
$username$hostname($shlvl)($cmd_duration) $fill ($nix_shell)$custom
|
||||||
|
$directory(${git})(- ${cloud}) $fill $time
|
||||||
|
$jobs$character
|
||||||
|
'';
|
||||||
|
|
||||||
|
fill = {
|
||||||
|
symbol = " ";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Core
|
||||||
|
username = {
|
||||||
|
format = "[$user]($style)";
|
||||||
|
show_always = true;
|
||||||
|
};
|
||||||
|
hostname = {
|
||||||
|
format = "[@$hostname]($style) ";
|
||||||
|
ssh_only = false;
|
||||||
|
style = "bold green";
|
||||||
|
};
|
||||||
|
shlvl = {
|
||||||
|
format = "[$shlvl]($style) ";
|
||||||
|
style = "bold cyan";
|
||||||
|
threshold = 2;
|
||||||
|
repeat = true;
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
cmd_duration = {
|
||||||
|
format = "took [$duration]($style) ";
|
||||||
|
};
|
||||||
|
|
||||||
|
directory = {
|
||||||
|
format = "[$path]($style)( [$read_only]($read_only_style)) ";
|
||||||
|
};
|
||||||
|
nix_shell = {
|
||||||
|
format = "[($name \\(develop\\) <- )$symbol]($style) ";
|
||||||
|
impure_msg = "";
|
||||||
|
symbol = " ";
|
||||||
|
style = "bold red";
|
||||||
|
};
|
||||||
|
|
||||||
|
character = {
|
||||||
|
error_symbol = "[~~>](bold red)";
|
||||||
|
success_symbol = "[->>](bold green)";
|
||||||
|
vimcmd_symbol = "[<<-](bold yellow)";
|
||||||
|
vimcmd_visual_symbol = "[<<-](bold cyan)";
|
||||||
|
vimcmd_replace_symbol = "[<<-](bold purple)";
|
||||||
|
vimcmd_replace_one_symbol = "[<<-](bold purple)";
|
||||||
|
};
|
||||||
|
|
||||||
|
time = {
|
||||||
|
format = "\\\[[$time]($style)\\\]";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Cloud
|
||||||
|
gcloud = {
|
||||||
|
format = "on [$symbol$active(/$project)(\\($region\\))]($style)";
|
||||||
|
};
|
||||||
|
aws = {
|
||||||
|
format = "on [$symbol$profile(\\($region\\))]($style)";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Icon changes only \/
|
||||||
|
aws.symbol = " ";
|
||||||
|
conda.symbol = " ";
|
||||||
|
dart.symbol = " ";
|
||||||
|
directory.read_only = " ";
|
||||||
|
docker_context.symbol = " ";
|
||||||
|
elixir.symbol = " ";
|
||||||
|
elm.symbol = " ";
|
||||||
|
gcloud.symbol = " ";
|
||||||
|
git_branch.symbol = " ";
|
||||||
|
golang.symbol = " ";
|
||||||
|
hg_branch.symbol = " ";
|
||||||
|
java.symbol = " ";
|
||||||
|
julia.symbol = " ";
|
||||||
|
memory_usage.symbol = " ";
|
||||||
|
nim.symbol = " ";
|
||||||
|
nodejs.symbol = " ";
|
||||||
|
package.symbol = " ";
|
||||||
|
perl.symbol = " ";
|
||||||
|
php.symbol = " ";
|
||||||
|
python.symbol = " ";
|
||||||
|
ruby.symbol = " ";
|
||||||
|
rust.symbol = " ";
|
||||||
|
scala.symbol = " ";
|
||||||
|
shlvl.symbol = "";
|
||||||
|
swift.symbol = " ";
|
||||||
|
terraform.symbol = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,8 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-colors.homeManagerModule
|
inputs.nix-colors.homeManagerModule
|
||||||
../modules/common/
|
../opt/shell
|
||||||
../modules/feature/shell/
|
../opt/nvim
|
||||||
../modules/feature/nvim/
|
|
||||||
] ++ (builtins.attrValues outputs.homeManagerModules);
|
] ++ (builtins.attrValues outputs.homeManagerModules);
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|
@ -39,7 +38,6 @@ in
|
||||||
stateVersion = lib.mkDefault "22.05";
|
stateVersion = lib.mkDefault "22.05";
|
||||||
sessionPath = [ "$HOME/.local/bin" ];
|
sessionPath = [ "$HOME/.local/bin" ];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
colorscheme = lib.mkDefault colorSchemes.everforest;
|
colorscheme = lib.mkDefault colorSchemes.everforest;
|
||||||
home.file.".colorscheme".text = config.colorscheme.slug;
|
home.file.".colorscheme".text = config.colorscheme.slug;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
fonts = import ./fonts.nix
|
fonts = import ./fonts.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue