feat(homes/rafiq): import desktop configs
This commit is contained in:
parent
8166894b78
commit
c2bae8cd85
5 changed files with 298 additions and 24 deletions
56
flake.nix
56
flake.nix
|
@ -1,34 +1,40 @@
|
|||
{
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
|
||||
(inputs.import-tree ./nix)
|
||||
// {
|
||||
systems = import inputs.systems;
|
||||
flake.paths.root = ./.;
|
||||
}
|
||||
);
|
||||
inputs = {
|
||||
# nixos-unstable provides a binary cache for all packages.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
### SYSTEM ###
|
||||
|
||||
# systems provides a list of supported nix systems.
|
||||
systems.url = "github:nix-systems/default";
|
||||
# nixos-unstable provides a binary cache for all packages.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# impermanence provides a nice abstraction over linking files from /persist
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
# flake-parts lets us define flake modules.
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
};
|
||||
# home-manager manages our user packages and dotfiles
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# disko provides declarative drive partitioning
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# impermanence provides a nice abstraction over linking files from /persist
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
|
||||
### FLAKE PARTS MODULES ###
|
||||
|
||||
# sops-nix lets us version control secrets like passwords and api keys
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
### FLAKE PARTS MODULES ###
|
||||
|
||||
# import-tree imports all nix files in a given directory.
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
# files lets us write text files and automatically add checks for them
|
||||
|
@ -50,12 +56,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
### PROGRAMS ###
|
||||
### HOME-MANAGER ###
|
||||
|
||||
# home-manager manages our user packages and dotfiles
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# nix-index-database indexes the nixpkgs binaries for use with comma
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# the nix user repository for mainly firefox extensions
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-parts.follows = "flake-parts";
|
||||
};
|
||||
# nvf provides modules to wrap neovim
|
||||
nvf = {
|
||||
url = "github:notashelf/nvf";
|
||||
|
@ -69,7 +87,7 @@
|
|||
};
|
||||
|
||||
### DEDUPE ###
|
||||
# The following are not used in the flake
|
||||
|
||||
dedupe_flake-compat.url = "github:edolstra/flake-compat";
|
||||
dedupe_flake-utils = {
|
||||
url = "github:numtide/flake-utils";
|
||||
|
@ -81,14 +99,4 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
|
||||
(inputs.import-tree ./nix)
|
||||
// {
|
||||
systems = import inputs.systems;
|
||||
flake.paths.root = ./.;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue