mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-10 14:41:10 +01:00
Remove unused home-manager files
This commit is contained in:
parent
dfc35d2890
commit
7947856785
3 changed files with 15 additions and 57 deletions
37
flake.nix
37
flake.nix
|
|
@ -110,12 +110,7 @@
|
|||
|
||||
overlays.x86_64-linux = final: prev: pkgList "x86_64-linux" prev.callPackage;
|
||||
|
||||
nixosConfigurations = let
|
||||
commonHmModules = [
|
||||
self.hmModules.minimal
|
||||
./home.nix
|
||||
];
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
ZeNixLaptop = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
|
@ -145,13 +140,12 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
commonHmModules
|
||||
++ [
|
||||
self.hmModules.personal-cli
|
||||
self.hmModules.personal-gui
|
||||
self.hmModules.gaming
|
||||
];
|
||||
imports = [
|
||||
self.hmModules.minimal
|
||||
self.hmModules.personal-cli
|
||||
self.hmModules.personal-gui
|
||||
self.hmModules.gaming
|
||||
];
|
||||
};
|
||||
home-manager.extraSpecialArgs = {
|
||||
flake = self;
|
||||
|
|
@ -193,15 +187,14 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
commonHmModules
|
||||
++ [
|
||||
./hostconfig/ZeNixComputa/hm.nix
|
||||
./hostconfig/ZeNixComputa/extra_info.nix
|
||||
self.hmModules.personal-cli
|
||||
self.hmModules.personal-gui
|
||||
self.hmModules.gaming
|
||||
];
|
||||
imports = [
|
||||
self.hmModules.minimal
|
||||
./hostconfig/ZeNixComputa/hm.nix
|
||||
./hostconfig/ZeNixComputa/extra_info.nix
|
||||
self.hmModules.personal-cli
|
||||
self.hmModules.personal-gui
|
||||
self.hmModules.gaming
|
||||
];
|
||||
};
|
||||
home-manager.extraSpecialArgs = {
|
||||
flake = self;
|
||||
|
|
|
|||
11
home.nix
11
home.nix
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
# 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
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "21.11";
|
||||
}
|
||||
24
rustdev.nix
24
rustdev.nix
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.sessionVariables = {
|
||||
RUSTC_WRAPPER = "${pkgs.sccache}/bin/sccache";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pkgs.rust-bin.stable.latest.default
|
||||
cargo-edit
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".zfunc/_cargo".text = ''
|
||||
#compdef cargo
|
||||
if command -v rustc >/dev/null 2>&1; then
|
||||
source "$(rustc --print sysroot)"/share/zsh/site-functions/_cargo
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue