Remove unused home-manager files

This commit is contained in:
Quentin Boyer 2023-03-26 19:44:04 +02:00
parent dfc35d2890
commit 7947856785
3 changed files with 15 additions and 57 deletions

View file

@ -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;

View file

@ -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";
}

View file

@ -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
'';
};
}