This commit is contained in:
Aleksandr Lebedev 2025-06-06 20:16:47 +02:00
parent 60f0418f98
commit d2f6b23e9e
4 changed files with 18 additions and 65 deletions

24
flake.lock generated
View file

@ -115,19 +115,19 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1744117239, "lastModified": 1749073956,
"narHash": "sha256-kMqmtfpZ8yXTi2Qm8hQ9SpvOZ7BdEKl2flWoFvLJufM=", "narHash": "sha256-BbCET9hzmTSgnR0x4ILcbYbGl2hRc9Fr21Xd3RgjRkI=",
"ref": "refs/heads/master", "ref": "rmlui",
"rev": "45ec8b21db7879b29a37d7c3f5aa770a29c9b470", "rev": "37821b1c22fa4f775ed2f2cf3cbc4b748491ce39",
"revCount": 499, "revCount": 540,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/KyleKrein/BeeEngine" "url": "https://gitlab.kylekrein.com:443/beeengine/BeeEngine.git"
}, },
"original": { "original": {
"submodules": true, "ref": "rmlui",
"type": "git", "type": "git",
"url": "https://github.com/KyleKrein/BeeEngine" "url": "https://gitlab.kylekrein.com:443/beeengine/BeeEngine.git"
} }
}, },
"cachix": { "cachix": {
@ -1374,16 +1374,16 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1738843498, "lastModified": 1749086602,
"narHash": "sha256-7x+Q4xgFj9UxZZO9aUDCR8h4vyYut4zPUvfj3i+jBHE=", "narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f5a32fa27df91dfc4b762671a0e0a859a8a0058f", "rev": "4792576cb003c994bd7cc1edada3129def20b27d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -41,7 +41,11 @@ in
}; };
boot = { boot = {
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; kernelPackages = lib.mkDefault pkgs.linuxPackages_6_14;
plymouth = {
enable = true;
};
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = if hwconfig.hostname != "kylekrein-mac" then true else false; efi.canTouchEfiVariables = if hwconfig.hostname != "kylekrein-mac" then true else false;
@ -159,6 +163,7 @@ in
llvmPackages_19.clang-tools llvmPackages_19.clang-tools
gdb gdb
dotnet-sdk_9
csharp-ls csharp-ls
element-desktop element-desktop

View file

@ -2,55 +2,4 @@
imports = [ imports = [
./git.nix ./git.nix
]; ];
programs = {
nushell = { enable = true;
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
#configFile.source = ./.../config.nu;
# for editing directly to config.nu
extraConfig = ''
$env.config.use_ls_colors = true
let carapace_completer = {|spans|
carapace $spans.0 nushell ...$spans | from json
}
$env.config = {
show_banner: false,
completions: {
case_sensitive: false # case-sensitive completions
quick: true # set to false to prevent auto-selecting completions
partial: true # set to false to prevent partial filling of the prompt
algorithm: "fuzzy" # prefix or fuzzy
external: {
# set to false to prevent nushell looking into $env.PATH to find more suggestions
enable: true
# set to lower can improve completion performance at the cost of omitting some options
max_results: 100
completer: $carapace_completer # check 'carapace_completer'
}
}
}
$env.PATH = ($env.PATH |
split row (char esep) |
prepend /home/${username}/Apps |
append /usr/bin/env
)
'';
shellAliases = {
vi = "nvim";
vim = "nvim";
l = "ls -la";
};
};
carapace.enable = true;
carapace.enableNushellIntegration = true;
starship = { enable = true;
settings = {
add_newline = false;
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
};
};
};
} }

View file

@ -13,7 +13,6 @@ in {
]; ];
users.users.${username} = { users.users.${username} = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.nushell;
description = "Aleksandr Lebedev"; description = "Aleksandr Lebedev";
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel"];
#initialPassword = "1234"; #initialPassword = "1234";