Compare commits
3 Commits
sandbox
...
19452a8557
| Author | SHA1 | Date | |
|---|---|---|---|
|
19452a8557
|
|||
|
fb515d205b
|
|||
|
3dd048ebe3
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
assets/** filter=lfs diff=lfs merge=lfs -text
|
||||
6
.pre-commit-config.yaml
Normal file
6
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/nixos/nixfmt
|
||||
rev: v1.2.0
|
||||
hooks:
|
||||
- id: nixfmt-nix
|
||||
args: [--, --check]
|
||||
3
assets/lockscreen.png
Normal file
3
assets/lockscreen.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47098eed6a818a4e6181e2cdd6d1244b2adc46d748da5944a7bf89068eb1c8ad
|
||||
size 497830
|
||||
3
assets/wallpaper.png
Normal file
3
assets/wallpaper.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d5ab6c3434f2b1b8ebac566fef17fad16dbb6415d76ab06e6abf483b563bc25
|
||||
size 16097396
|
||||
25
flake.nix
25
flake.nix
@@ -94,11 +94,22 @@
|
||||
lib = nixpkgs.lib;
|
||||
} { };
|
||||
}
|
||||
// flake-utils.lib.eachDefaultSystem (system: {
|
||||
packages = import ./packages {
|
||||
inherit my-lib;
|
||||
lib = nixpkgs.lib;
|
||||
} (inputs // { inherit system; });
|
||||
formatter = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
||||
});
|
||||
// flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
packages = import ./packages {
|
||||
inherit my-lib;
|
||||
lib = nixpkgs.lib;
|
||||
} (inputs // { inherit system; });
|
||||
|
||||
formatter = pkgs.nixfmt-tree;
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [ pkgs.pre-commit ];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[formatter.nix]
|
||||
command = "nix"
|
||||
options = ["fmt"]
|
||||
includes = [ "*.nix" ]
|
||||
@@ -26,6 +26,7 @@ in
|
||||
|
||||
# git and co
|
||||
pkgs.git
|
||||
pkgs.git-lfs
|
||||
packages.git-linearize
|
||||
packages.ggman
|
||||
|
||||
@@ -56,6 +57,11 @@ in
|
||||
|
||||
home.file.".assets".source = "${inputs.self}/assets";
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
stylix.targets.neovim.enable = false;
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user