mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
flake: adds agenix, reorders inputs
This commit is contained in:
parent
4070ea5ed9
commit
543bd842af
1 changed files with 9 additions and 16 deletions
25
flake.nix
25
flake.nix
|
|
@ -2,28 +2,16 @@
|
||||||
description = "liv's NixOS configuration";
|
description = "liv's NixOS configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
agenix.url = "github:ryantm/agenix";
|
||||||
nur.url = "github:nix-community/NUR";
|
|
||||||
|
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
|
||||||
|
|
||||||
nixvim.url = "github:ahwxorg/nixvim-config";
|
|
||||||
|
|
||||||
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
||||||
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
# type = "git";
|
|
||||||
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
# submodules = true;
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hypr-contrib.url = "github:hyprwm/contrib";
|
hypr-contrib.url = "github:hyprwm/contrib";
|
||||||
|
|
@ -36,9 +24,14 @@
|
||||||
url = "github:KZDKM/Hyswipe";
|
url = "github:KZDKM/Hyswipe";
|
||||||
inputs.hyprland.follows = "hyprland"; # Hyswipe uses latest Hyprland. We declare this to keep them in sync.
|
inputs.hyprland.follows = "hyprland"; # Hyswipe uses latest Hyprland. We declare this to keep them in sync.
|
||||||
};
|
};
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nur.url = "github:nix-community/NUR";
|
||||||
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||||
|
nixvim.url = "github:ahwxorg/nixvim-config";
|
||||||
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, self, catppuccin, ...} @ inputs:
|
outputs = { self, nixpkgs, catppuccin, agenix, ...} @ inputs:
|
||||||
let
|
let
|
||||||
overlays = import ./overlays/default.nix;
|
overlays = import ./overlays/default.nix;
|
||||||
username = "liv";
|
username = "liv";
|
||||||
|
|
@ -62,7 +55,7 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [(
|
modules = [(
|
||||||
import ./hosts/sakura
|
import ./hosts/sakura
|
||||||
#agenix.nixosModules.default # TODO: Should use this for en/decrypting secret values.
|
agenix.nixosModules.default
|
||||||
)];
|
)];
|
||||||
specialArgs = { host="sakura"; inherit self inputs username ; };
|
specialArgs = { host="sakura"; inherit self inputs username ; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue