mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-19 20:39:20 +00:00
Compare commits
6 commits
868ad84fb8
...
057661f4b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
057661f4b0 | ||
| ccfa4fdb4f | |||
| 74701ee626 | |||
| b57a13036a | |||
| 75d9ea8613 | |||
| 1eece5263a |
9 changed files with 324 additions and 597 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -17,10 +17,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tool-cache: true
|
tool-cache: true
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
||||||
- uses: cachix/cachix-action@v15
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
name: callumio-public
|
name: callumio-public
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
pushFilter: '(nerdfonts)'
|
pushFilter: '(nerdfonts)'
|
||||||
extraPullNames: nix-community, om
|
extraPullNames: nix-community, om
|
||||||
- run: nix run github:juspay/omnix --accept-flake-config -- ci run "."
|
- run: nix build github:srid/devour-flake -L --no-link --print-out-paths --override-input flake .
|
||||||
|
|
||||||
|
|
|
||||||
885
flake.lock
generated
885
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -71,7 +71,7 @@
|
||||||
devShells.default = final.mkShell {
|
devShells.default = final.mkShell {
|
||||||
meta.description = "Default dev shell";
|
meta.description = "Default dev shell";
|
||||||
inputsFrom = [config.pre-commit.devShell config.treefmt.build.devShell];
|
inputsFrom = [config.pre-commit.devShell config.treefmt.build.devShell];
|
||||||
packages = with final; [just git nixvim cachix jq devour-flake om agenix deadnix];
|
packages = with final; [just git nvf cachix jq devour-flake om agenix deadnix];
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = nixpkgs.lib.mapAttrs' (name: value: nixpkgs.lib.nameValuePair ("deploy-" + name) value) (inputs'.nixinate.packages self);
|
apps = nixpkgs.lib.mapAttrs' (name: value: nixpkgs.lib.nameValuePair ("deploy-" + name) value) (inputs'.nixinate.packages self);
|
||||||
|
|
@ -96,8 +96,8 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixvim = {
|
nvf = {
|
||||||
url = "github:callumio/nixvim";
|
url = "github:callumio/nvf";
|
||||||
inputs.nixpkgs.follows = "unstable";
|
inputs.nixpkgs.follows = "unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -125,7 +125,6 @@
|
||||||
omnix = {
|
omnix = {
|
||||||
url = "github:juspay/omnix";
|
url = "github:juspay/omnix";
|
||||||
inputs = {
|
inputs = {
|
||||||
treefmt-nix.follows = "treefmt-nix";
|
|
||||||
systems.follows = "systems";
|
systems.follows = "systems";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [./programs ./services];
|
imports = [./programs ./services];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
@ -59,7 +55,7 @@
|
||||||
unzip
|
unzip
|
||||||
just
|
just
|
||||||
wireshark
|
wireshark
|
||||||
inputs.nixvim.packages."x86_64-linux".default # nixvim
|
nvf
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs = {
|
programs = {
|
||||||
wireshark.enable = true;
|
wireshark.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
|
|
@ -16,7 +20,7 @@
|
||||||
# url = "https://i.redd.it/jd1nuwsl0d121.jpg";
|
# url = "https://i.redd.it/jd1nuwsl0d121.jpg";
|
||||||
# sha256 = "sha256-ff3ajGVsay2dtHiHmO2MYlqCvexUQjGifMs/ofzuyvI=";
|
# sha256 = "sha256-ff3ajGVsay2dtHiHmO2MYlqCvexUQjGifMs/ofzuyvI=";
|
||||||
# };
|
# };
|
||||||
fit = "Contain";
|
fit = lib.mkForce "Contain";
|
||||||
};
|
};
|
||||||
# GTK = {
|
# GTK = {
|
||||||
# application_prefer_dark_theme = true;
|
# application_prefer_dark_theme = true;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
openssh.authorizedKeys.keys = config.keys.c;
|
openssh.authorizedKeys.keys = config.keys.c;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
tree
|
tree
|
||||||
nixvim
|
nvf
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
2
justfile
2
justfile
|
|
@ -14,7 +14,7 @@ deploy MACHINE:
|
||||||
nix run .#deploy-{{MACHINE}}
|
nix run .#deploy-{{MACHINE}}
|
||||||
|
|
||||||
vim:
|
vim:
|
||||||
nix flake lock --update-input nixvim
|
nix flake lock --update-input nvf
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{inputs, ...}: _final: prev: {
|
{inputs, ...}: _final: prev: {
|
||||||
nixvim = inputs.nixvim.packages.${prev.system}.default;
|
nvf = inputs.nvf.packages.${prev.system}.default;
|
||||||
devour-flake = prev.callPackage inputs.devour-flake {};
|
devour-flake = prev.callPackage inputs.devour-flake {};
|
||||||
agenix = inputs.agenix.packages.${prev.system}.default;
|
agenix = inputs.agenix.packages.${prev.system}.default;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
tmux-sessionizer-cl = pkgs.callPackage ./tmux-sessionizer {};
|
tmux-sessionizer-cl = pkgs.callPackage ./tmux-sessionizer {};
|
||||||
om = inputs'.omnix.packages.default;
|
om = inputs'.omnix.packages.default;
|
||||||
nixvim = inputs'.nixvim.packages.default;
|
nvf = inputs'.nvf.packages.default;
|
||||||
agenix = inputs'.agenix.packages.default;
|
agenix = inputs'.agenix.packages.default;
|
||||||
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
||||||
devour-flake = pkgs.callPackage inputs.devour-flake {};
|
devour-flake = pkgs.callPackage inputs.devour-flake {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue