This commit is contained in:
zoe 2023-08-22 19:58:13 +02:00
parent 31eacdac3a
commit 293143b129
3 changed files with 5 additions and 25 deletions

View File

@ -10,13 +10,9 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
}; };
outputs = { self, nixpkgs, home-manager, supercolor, i3layouts-rofi, kaokao outputs = { self, nixpkgs, home-manager, supercolor, i3layouts-rofi, kaokao
, mozilla, nixpkgs-unstable, fenix }@inputs: , mozilla, nixpkgs-unstable, }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
@ -26,13 +22,12 @@
}; };
}; };
in { in {
packages.x86_64-linux.default =
fenix.packages.x86_64-linux.minimal.toolchain;
nixosConfigurations.bat = nixpkgs.lib.nixosSystem { nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
({ config, pkgs, ... }: { ({ config, pkgs, ... }: {
nixpkgs.overlays = [ fenix.overlays.default overlay-unstable ]; nixpkgs.overlays =
[ overlay-unstable ];
}) })
./configuration.nix ./configuration.nix
]; ];

View File

@ -2,15 +2,6 @@
environment.systemPackages = with pkgs; [ clamav ]; environment.systemPackages = with pkgs; [ clamav ];
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
thunar-media-tags-plugin
];
};
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
atkinson-hyperlegible atkinson-hyperlegible
noto-fonts noto-fonts

View File

@ -76,6 +76,7 @@ in {
xournalpp xournalpp
# games # games
mgba
steam steam
pcsx2 pcsx2
dolphin-emu dolphin-emu
@ -152,14 +153,7 @@ in {
nodePackages_latest.svelte-language-server nodePackages_latest.svelte-language-server
nodePackages_latest.svelte-check nodePackages_latest.svelte-check
## rust ## rust
(fenix.stable.withComponents [ rustup
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
rust-analyzer-nightly
cargo-watch cargo-watch
llvmPackages_rocm.clang llvmPackages_rocm.clang
llvmPackages_rocm.llvm llvmPackages_rocm.llvm