add network config
This commit is contained in:
parent
ce6ee2d241
commit
2e38451ba7
3 changed files with 69 additions and 44 deletions
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, config, user, home }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
user,
|
||||
home,
|
||||
}:
|
||||
{
|
||||
home = {
|
||||
username = user.name;
|
||||
|
|
|
@ -13,54 +13,62 @@
|
|||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
description = "Johannes Jöns";
|
||||
extraGroups = [ "wheel" "networkmanager" "pipewire" "audio" "adbusers" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"pipewire"
|
||||
"audio"
|
||||
"adbusers"
|
||||
];
|
||||
uid = 1000;
|
||||
};
|
||||
home-manager.users.jopejoe1 = import ../. {
|
||||
inherit pkgs config;
|
||||
user = config.users.users.jopejoe1;
|
||||
home = config.home-manager.users.jopejoe1;
|
||||
} // {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
let carapace_completer = {|spans|
|
||||
carapace $spans.0 nushell $spans | from json
|
||||
}
|
||||
$env.config = {
|
||||
show_banner: false,
|
||||
completions: {
|
||||
case_sensitive: false
|
||||
quick: true
|
||||
partial: true
|
||||
algorithm: "fuzzy"
|
||||
external: {
|
||||
enable: true
|
||||
max_results: 100
|
||||
completer: $carapace_completer
|
||||
home-manager.users.jopejoe1 =
|
||||
import ../. {
|
||||
inherit pkgs config;
|
||||
user = config.users.users.jopejoe1;
|
||||
home = config.home-manager.users.jopejoe1;
|
||||
}
|
||||
// {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
let carapace_completer = {|spans|
|
||||
carapace $spans.0 nushell $spans | from json
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
shellAliases = {
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
$env.config = {
|
||||
show_banner: false,
|
||||
completions: {
|
||||
case_sensitive: false
|
||||
quick: true
|
||||
partial: true
|
||||
algorithm: "fuzzy"
|
||||
external: {
|
||||
enable: true
|
||||
max_results: 100
|
||||
completer: $carapace_completer
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
shellAliases = {
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
};
|
||||
};
|
||||
};
|
||||
carapace.enable = true;
|
||||
carapace.enableNushellIntegration = true;
|
||||
carapace.enable = true;
|
||||
carapace.enableNushellIntegration = true;
|
||||
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
character = {
|
||||
success_symbol = "[➜](bold green)";
|
||||
error_symbol = "[➜](bold red)";
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
character = {
|
||||
success_symbol = "[➜](bold green)";
|
||||
error_symbol = "[➜](bold red)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue