Compare commits
No commits in common. "e41f726b28a5acdb68951820d93c5ed48b55eb3a" and "c00f818acb65f8f29e162b11af7ca5daa2fbc824" have entirely different histories.
e41f726b28
...
c00f818acb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
# Ignore build outputs from performing a nix-build or `nix build` command
|
# Ignore build outputs from performing a nix-build or `nix build` command
|
||||||
result
|
result
|
||||||
result-*
|
result-*
|
||||||
.direnv
|
|
||||||
|
24
flake.lock
generated
24
flake.lock
generated
@ -279,29 +279,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixfiles-assets": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1710743555,
|
|
||||||
"narHash": "sha256-e8iXy4hCLYegNTeyB/GB8hj+gj1wPD+b+XOsEcdfEJY=",
|
|
||||||
"ref": "refs/heads/main",
|
|
||||||
"rev": "4ee66c3036eda78fe0ddada0e289a4f672ac4f57",
|
|
||||||
"revCount": 1,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709961763,
|
"lastModified": 1709961763,
|
||||||
@ -374,7 +351,6 @@
|
|||||||
"hyprwm-contrib": "hyprwm-contrib",
|
"hyprwm-contrib": "hyprwm-contrib",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nix-wsl": "nix-wsl",
|
"nix-wsl": "nix-wsl",
|
||||||
"nixfiles-assets": "nixfiles-assets",
|
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"pkg-android-tools": "pkg-android-tools",
|
"pkg-android-tools": "pkg-android-tools",
|
||||||
|
19
flake.nix
19
flake.nix
@ -46,14 +46,6 @@
|
|||||||
url = "github:oxalica/rust-overlay";
|
url = "github:oxalica/rust-overlay";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixfiles-assets = {
|
|
||||||
# using self-hosted gitea mirror because of GitHub LFS bandwidth limit (even though i'd probably never hit it)
|
|
||||||
type = "git";
|
|
||||||
url = "https://gitea.protogen.io/nullbite/nixfiles-assets";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
inputs.systems.follows = "systems";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs:
|
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs:
|
||||||
@ -80,7 +72,6 @@
|
|||||||
|
|
||||||
inputs.hyprwm-contrib.overlays.default
|
inputs.hyprwm-contrib.overlays.default
|
||||||
inputs.rust-overlay.overlays.default
|
inputs.rust-overlay.overlays.default
|
||||||
inputs.nixfiles-assets.overlays.default
|
|
||||||
];
|
];
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
@ -209,16 +200,6 @@
|
|||||||
# for repl debugging via :lf .
|
# for repl debugging via :lf .
|
||||||
inherit inputs vars;
|
inherit inputs vars;
|
||||||
|
|
||||||
devShells = eachSystem (system: let
|
|
||||||
pkgs = import nixpkgs { inherit system; };
|
|
||||||
in {
|
|
||||||
default = pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
nix-update
|
|
||||||
];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
# nix flake modules are meant to be portable so we cannot rely on
|
# nix flake modules are meant to be portable so we cannot rely on
|
||||||
# (extraS|s)pecialArgs to pass variables
|
# (extraS|s)pecialArgs to pass variables
|
||||||
nixosModules = (import ./modules/nixos) moduleInputs;
|
nixosModules = (import ./modules/nixos) moduleInputs;
|
||||||
|
@ -213,7 +213,7 @@ in
|
|||||||
"$mod, O, togglesplit," # dwindle"
|
"$mod, O, togglesplit," # dwindle"
|
||||||
|
|
||||||
"$mod, f, fullscreen"
|
"$mod, f, fullscreen"
|
||||||
"$mod SHIFT, f, fakefullscreen"
|
"$mod CONTROL, f, fakefullscreen"
|
||||||
|
|
||||||
# Move focus with mod + arrow keys
|
# Move focus with mod + arrow keys
|
||||||
"$mod, left, movefocus, l"
|
"$mod, left, movefocus, l"
|
||||||
|
@ -11,5 +11,4 @@ in
|
|||||||
google-fonts = callPackage ./google-fonts { };
|
google-fonts = callPackage ./google-fonts { };
|
||||||
wm-helpers = callPackage ./wm-helpers { };
|
wm-helpers = callPackage ./wm-helpers { };
|
||||||
atool = callPackage ./atool-wrapped { };
|
atool = callPackage ./atool-wrapped { };
|
||||||
nixfiles-assets = callPackage ./nixfiles-assets { };
|
|
||||||
}
|
}
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
{ lib, stdenvNoCC, fetchFromGitea }:
|
|
||||||
let
|
|
||||||
src = fetchFromGitea {
|
|
||||||
domain = "gitea.protogen.io";
|
|
||||||
owner = "nullbite";
|
|
||||||
repo = "nixfiles-assets";
|
|
||||||
rev = "4ee66c3036";
|
|
||||||
hash = "sha256-e8iXy4hCLYegNTeyB/GB8hj+gj1wPD+b+XOsEcdfEJY=";
|
|
||||||
forceFetchGit = true;
|
|
||||||
fetchLFS = true;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation {
|
|
||||||
pname = "nixfiles-assets";
|
|
||||||
version = src.rev;
|
|
||||||
inherit src;
|
|
||||||
phases = [ "installPhase" ];
|
|
||||||
installPhase = ''
|
|
||||||
cd $src
|
|
||||||
pwd
|
|
||||||
ls
|
|
||||||
mkdir -p $out/share/
|
|
||||||
cp -a wallpapers $out/share/
|
|
||||||
'';
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user