Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
icecreammatt committed Jan 30, 2024
1 parent 27d45b8 commit cf5188c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
nixosConfigurations = (
import ./hosts/nixos {
inherit (nixpkgs) lib;
inherit inputs nixpkgs nixos-hardware home-manager hyprland sops-nix xremap-flake helix-flake;
inherit inputs nixpkgs nixos-hardware home-manager hyprland sops-nix helix-flake;
}
);

Expand Down
22 changes: 6 additions & 16 deletions hosts/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,12 @@
nixpkgs,
nixos-hardware,
home-manager,
helix-flake,
hyprland,
helix-flake,
sops-nix,
xremap-flake,
...
}: let
user = "matt";
# nixpkgs.overlays = [(self: super:
# helix = super.helix.overrideAttrs (old: {
# src = super.fetchFromGitHub {
# owner = "icecreammatt";
# repo = "helix";
# rev = "6b7d292d29cb03739cdcb3bf82033d995aa4fad3";
# };
# });
# )];
in {
nixos-vm = lib.nixosSystem {
pkgs = import nixpkgs {
Expand Down Expand Up @@ -158,9 +148,12 @@ in {
./config-common.nix
./networking.nix
./mini/configuration.nix

{
environment.systemPackages = [
helix-flake.packages."x86_64-linux".default
];
}
sops-nix.nixosModules.sops

home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
Expand All @@ -172,9 +165,6 @@ in {
../../modules/common.nix
../../modules/rust.nix
../../modules/k8s.nix
{home.packages = [
helix-flake.packages."x86_64-linux".default
];}
];
};
}
Expand Down

0 comments on commit cf5188c

Please sign in to comment.