mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-24 15:50:59 +01:00
Cleanup configuration
This commit is contained in:
parent
84367de7eb
commit
5f50001b90
6 changed files with 1 additions and 93 deletions
|
|
@ -146,7 +146,6 @@
|
|||
self.hmModules.personal-gui
|
||||
self.hmModules.gaming
|
||||
./home.nix
|
||||
./graphical.nix
|
||||
./extra_info.nix
|
||||
./localinfo.nix
|
||||
./rustdev.nix
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
*/
|
||||
}
|
||||
46
home.nix
46
home.nix
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.traxys = import /etc/nixos/traxys/home.nix;
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
*/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue