format, add nixpkgs to xonsh
This commit is contained in:
parent
7faae5e9f9
commit
836bc1e675
|
@ -7,15 +7,15 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
./private
|
||||
./hardware-configuration.nix
|
||||
./boot-config.nix
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
./ssh.nix
|
||||
./dns.nix
|
||||
./rocm.nix
|
||||
];
|
||||
./private
|
||||
./hardware-configuration.nix
|
||||
./boot-config.nix
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
./ssh.nix
|
||||
./dns.nix
|
||||
./rocm.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
daemonNiceLevel = 5;
|
||||
|
@ -118,7 +118,7 @@
|
|||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
(callPackage ./externals/packages/xdg-desktop-portal-wlr.nix { })
|
||||
(callPackage ./externals/packages/xdg-desktop-portal-wlr.nix {})
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -169,7 +169,14 @@
|
|||
};
|
||||
firejail.enable = true;
|
||||
fish.enable = true;
|
||||
xonsh.enable = true;
|
||||
xonsh = {
|
||||
enable = true;
|
||||
package = pkgs.xonsh.overridePythonAttrs (
|
||||
old: {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.python3Packages.nixpkgs ];
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
|
@ -178,10 +185,10 @@
|
|||
description = "Artemis Tosini";
|
||||
uid = 1000;
|
||||
shell = "/run/current-system/sw/bin/fish";
|
||||
extraGroups = ["networkmanager" "wheel" "adbusers" "wireshark" "video" "docker" "lxd" "plugdev" "dialout"];
|
||||
extraGroups = [ "networkmanager" "wheel" "adbusers" "wireshark" "video" "docker" "lxd" "plugdev" "dialout" ];
|
||||
# hashedPassword set in private
|
||||
};
|
||||
extraGroups.plugdev = { };
|
||||
extraGroups.plugdev = {};
|
||||
users.root = {
|
||||
subUidRanges = [ { startUid = 16777216; count = 16777216; } { startUid = config.users.users.artemis.uid; count = 1; } ];
|
||||
subGidRanges = [ { startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; } ];
|
||||
|
|
|
@ -148,6 +148,7 @@ in
|
|||
|
||||
# Development
|
||||
arduino
|
||||
bear
|
||||
binutils-unwrapped
|
||||
ccache
|
||||
clang-tools
|
||||
|
@ -157,13 +158,16 @@ in
|
|||
gdb
|
||||
gnumake
|
||||
go
|
||||
gopls
|
||||
jetbrains.clion
|
||||
llvm.clang
|
||||
llvm.lld
|
||||
nasm
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
patchelf
|
||||
python37Packages.python-language-server
|
||||
python3Packages.python-language-server
|
||||
rnix-lsp
|
||||
rr
|
||||
rustup
|
||||
valgrind
|
||||
|
|
Loading…
Reference in a new issue