Skip to content

Commit

Permalink
Split into multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bdf committed Dec 27, 2023
1 parent 3801985 commit 7c8cc87
Show file tree
Hide file tree
Showing 23 changed files with 514 additions and 680 deletions.
26 changes: 0 additions & 26 deletions apps/firefox.nix

This file was deleted.

44 changes: 21 additions & 23 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,31 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
};

inputs.nur.url = github:nix-community/NUR;
outputs = { nixpkgs, home-manager, nur, ... }: {
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";

outputs = { nixpkgs, home-manager, nur, ... }:
let
system = "x86_64-linux";
in
{
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
nur.nixosModules.nur
./nixos/configuration.nix
home-manager.nixosModules.home-manager
({ config, ... }: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
users.user = ./home-manager/home.nix;
extraSpecialArgs.nur = config.nur;
};
})
];
};
modules = [
./nixos

home-manager.nixosModules.home-manager
nur.nixosModules.nur

({ config, ... }: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
users.user = ./home-manager;
extraSpecialArgs.nur = config.nur;
};
})
];
};
};
};
}

26 changes: 0 additions & 26 deletions home-manager/apps/firefox.nix

This file was deleted.

33 changes: 0 additions & 33 deletions home-manager/apps/jetbrains-clion-override-neo2.nix

This file was deleted.

32 changes: 0 additions & 32 deletions home-manager/apps/jetbrains-idea-ultimate-override-neo2.nix

This file was deleted.

25 changes: 25 additions & 0 deletions home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
imports = [
./i3.nix
./i3status.nix
./misc.nix
./neovim.nix
./protonmail-bridge.nix
];

# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

# Home Manager needs a bit of information about you and the paths it should
home.username = "user";
home.homeDirectory = "/home/user";

# 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 should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.05"; # Please read the comment before changing.
}
Loading

0 comments on commit 7c8cc87

Please sign in to comment.