initial commit
This commit is contained in:
commit
ddd861496e
16 changed files with 361 additions and 0 deletions
10
programs/all.nix
Normal file
10
programs/all.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./default.nix
|
||||
./git.nix
|
||||
./home-manager.nix
|
||||
./lix.nix
|
||||
];
|
||||
}
|
||||
5
programs/default.nix
Normal file
5
programs/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git.enable = true;
|
||||
}
|
||||
10
programs/git.nix
Normal file
10
programs/git.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = [{
|
||||
init.defaultBranch = "main";
|
||||
}];
|
||||
};
|
||||
}
|
||||
5
programs/home-manager.nix
Normal file
5
programs/home-manager.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ home-manager, ... }:
|
||||
|
||||
{
|
||||
home-manager.backupFileExtension = "backup";
|
||||
}
|
||||
13
programs/lix.nix
Normal file
13
programs/lix.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [ (final: prev: {
|
||||
inherit (prev.lixPackageSets.stable)
|
||||
nixpkgs-review
|
||||
nix-eval-jobs
|
||||
nix-fast-build
|
||||
colmena;
|
||||
}) ];
|
||||
|
||||
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue