Cleanup configuration

This commit is contained in:
Quentin Boyer 2023-03-26 17:49:23 +02:00
parent 84367de7eb
commit 5f50001b90
6 changed files with 1 additions and 93 deletions

View file

@ -146,7 +146,6 @@
self.hmModules.personal-gui
self.hmModules.gaming
./home.nix
./graphical.nix
./extra_info.nix
./localinfo.nix
./rustdev.nix

View file

@ -1,9 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
];
/*
environment.pathsToLink = [ "/share/hunspell" "/share/myspell" "/share/hyphen" ];
environment.variables.DICPATH = "/run/current-system/sw/share/hunspell:/run/current-system/sw/share/hyphen";
*/
}

View file

@ -1,50 +1,4 @@
{
config,
pkgs,
lib,
flake,
...
}: let
rustVersion = (pkgs.rustChannelOf {channel = "stable";}).rust;
rsPlatform = pkgs.makeRustPlatform {
cargo = rustVersion;
rustc = rustVersion;
};
in {
home.packages = with pkgs; [
nodePackages.vscode-json-languageserver
exa
python3
topgrade
niv
bintools
httpie
sqlx-cli
codespell
cargo-flamegraph
linuxPackages.perf
gcc11
bc
];
programs = {
starship = {
enable = true;
};
ssh = {
enable = true;
matchBlocks = {
};
};
};
programs.zsh = {
shellAliases = {
new-direnv = "nix flake new -t github:nix-community/nix-direnv";
};
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards

View file

@ -1,16 +1,10 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
./pkg.nix
#./home.nix
./localcfg.nix
./cachix.nix
];
@ -30,9 +24,6 @@
programs.nix-ld.enable = true;
boot.kernelPackages = pkgs.linuxPackages;
/*
nixpkgs.config.allowBroken = true;
*/
virtualisation = {
waydroid.enable = true;

View file

@ -1,7 +0,0 @@
{...}: {
imports = [
<home-manager/nixos>
];
home-manager.useGlobalPkgs = true;
home-manager.users.traxys = import /etc/nixos/traxys/home.nix;
}

View file

@ -1,20 +0,0 @@
{
config,
pkgs,
lib,
...
}: let
ashmem = config.boot.kernelPackages.callPackage ./anbox.nix {name = "ashmem";};
binder = config.boot.kernelPackages.callPackage ./anbox.nix {name = "binder";};
in {
# boot.extraModulePackages = [ ashmem binder ];
# boot.kernelModules = [ "ashmem_linux" "binder_linux" ];
/*
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
nativeOnly = true;
};
};
*/
}