Chagning .nixos pathing
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -5,19 +5,16 @@
|
||||
nixpkgs.url = "github:NixOs/nixpkgs/nixos-25.05";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.05";
|
||||
# The `follows` keyword in inputs is used for inheritance.
|
||||
# Here, `inputs.nixpkgs` of home-manager is kept consistent with
|
||||
# the `inputs.nixpkgs` of the current flake,
|
||||
# to avoid problems caused by different versions of nixpkgs.
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
disko.url = "github:nix-community/disko";
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, nix-index-database, sops-nix, ... }@inputs:
|
||||
outputs = { self, nixpkgs, home-manager, nix-index-database, sops-nix, disko, ... }@inputs:
|
||||
let
|
||||
overlays = [
|
||||
inputs.neovim-nightly-overlay.overlays.default
|
||||
@@ -38,7 +35,7 @@
|
||||
modules = [
|
||||
{ nixpkgs.overlays = overlays; }
|
||||
sops-nix.nixosModules.sops
|
||||
./configuration.nix
|
||||
./xps13-hardware-configuration.nix.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
@@ -59,8 +56,10 @@
|
||||
specialArgs = { inherit overlays; };
|
||||
modules = [
|
||||
{ nixpkgs.overlays = overlays; }
|
||||
disko.nixosModules.disko
|
||||
sops-nix.nixosModules.sops
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./configuration-server.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
Reference in New Issue
Block a user