yes
This commit is contained in:
47
backup_flake
Normal file
47
backup_flake
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
description = "Laptop Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
zen-browser.url = "github:VCPYC/zen-browser-flake";
|
||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||
nixpkgs.follows = "nixos-cosmic/nixpkgs";
|
||||
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nixos-cosmic, nix-flatpak, hyprpanel, nixvim, zen-browser, ... }@inputs:
|
||||
{
|
||||
|
||||
nixosConfigurations.nixos-laptop = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = ["https://cosmic.cachix.org"];
|
||||
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
||||
};
|
||||
}
|
||||
nixos-cosmic.nixosModules.default
|
||||
nixpkgs.overlays =
|
||||
[ inputs.hyprpanel.overlay ];
|
||||
_module.args = { inherit inputs; };
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.joshuaelm = {
|
||||
imports = [ ./home.nix nixvim.homeManagerModules.nixvim];
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs.inputs = inputs;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user