update deps

This commit is contained in:
iofq 2023-12-02 19:30:26 -06:00
parent 5b08bc63bc
commit fe3dde6667
11 changed files with 72 additions and 19 deletions

47
flake.lock generated
View file

@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1695074256, "lastModified": 1701433070,
"narHash": "sha256-aqaq+mp0YdLzhyHlgI3GNno7XwK5P82uLCFTCIgYjMc=", "narHash": "sha256-Gf9JStfENaUQ7YWFz3V7x/srIwr4nlnVteqaAxtwpgM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "feb70061596134d403e14cc5ef7b01ab114d1dbd", "rev": "4a8545f5e737a6338814a4676dc8e18c7f43fc57",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -40,11 +40,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1695033975, "lastModified": 1701250978,
"narHash": "sha256-GIUxbgLBhVyaKRxQw/NWYFLx7/jbKW3+U0HoSsMLPAs=", "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "161b027169b19d3a0ad6bd0a8948edf0c0fb0f64", "rev": "8772491ed75f150f02552c60694e1beff9f46013",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -56,11 +56,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1694767346, "lastModified": 1701253981,
"narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=", "narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ace5093e36ab1e95cb9463863491bee90d5a4183", "rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -78,11 +78,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691333179, "lastModified": 1695262048,
"narHash": "sha256-qMXasesSAK35QkdlOJlYKsAGI6AlA5ev3uW9WQD+cCk=", "narHash": "sha256-gLJnpuxRhZjvAkHTPMHXi927lHcDrT8/Lx5xx7lhGt4=",
"owner": "iofq", "owner": "iofq",
"repo": "nvim.nix", "repo": "nvim.nix",
"rev": "8b0a7ef1a65131703930c87d27c700f95f13997f", "rev": "dc80e6953dbad5ad78be591eb7536b1eeb404d79",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -96,7 +96,8 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nvim": "nvim" "nvim": "nvim",
"tfa": "tfa"
} }
}, },
"systems": { "systems": {
@ -113,6 +114,26 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"tfa": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1695265797,
"narHash": "sha256-YfClmeTQRYKncjPxhB3jDGldwY6FXSH6lldMZ+dhpnY=",
"owner": "iofq",
"repo": "2fa",
"rev": "a74a30f6af8de68269742212415617dd8ec66f97",
"type": "github"
},
"original": {
"owner": "iofq",
"repo": "2fa",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -12,6 +12,10 @@
url = "github:iofq/nvim.nix"; url = "github:iofq/nvim.nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
tfa = {
url = "github:iofq/2fa";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, home-manager, nixos-hardware, nvim, ... } @inputs: outputs = { self, nixpkgs, home-manager, nixos-hardware, nvim, ... } @inputs:
let let

View file

@ -21,6 +21,7 @@
appimage-run appimage-run
wireguard-tools wireguard-tools
spleen spleen
mpv
]; ];
}; };
imports = ( import ../modules/programs ); imports = ( import ../modules/programs );

View file

@ -7,6 +7,7 @@
overlays = [ overlays = [
(final: prev: { (final: prev: {
inherit (inputs.nvim.packages.${final.system}) full; inherit (inputs.nvim.packages.${final.system}) full;
inherit (inputs.tfa.packages.${final.system}) twofa;
}) })
]; ];
}; };

View file

@ -15,6 +15,7 @@
ledger-live-desktop ledger-live-desktop
prismlauncher prismlauncher
chromium chromium
jdk17
]; ];
}; };
} }

View file

@ -1,5 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [
twofa
];
programs.gpg = { programs.gpg = {
enable = true; enable = true;
settings = { settings = {

View file

@ -7,4 +7,5 @@
./2fa ./2fa
./direnv ./direnv
./xdg ./xdg
./warrior
] ]

View file

@ -2,13 +2,10 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
ripgrep ripgrep
fluxcd
k9s k9s
kubectl kubectl
python3 python3
p7zip p7zip
nodejs
nodePackages.pnpm
gnumake gnumake
gcc gcc
go go

View file

@ -35,7 +35,7 @@
bashrcExtra = '' bashrcExtra = ''
export PROMPT_COMMAND="prompt_command;history -a" export PROMPT_COMMAND="prompt_command;history -a"
export PATH="/usr/local/go/bin:~/go/bin:~/.bin:~/.local/bin:$PATH" export PATH="/usr/local/go/bin:~/go/bin:~/.bin:~/.local/bin:$PATH"
export GPG_2FA="cjriddz@protonmail.com" export GPG_2FA="mail@10110110.xyz"
export MANPAGER="nvim +Man!" export MANPAGER="nvim +Man!"
export EDITOR="nvim" export EDITOR="nvim"
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1

View file

@ -0,0 +1,15 @@
{ pkgs, config, ... }:
{
programs.taskwarrior = {
enable = true;
colorTheme = "solarized-dark-256";
};
home.packages = with pkgs; [
timewarrior
];
home.file."${config.xdg.dataHome}/task/hooks/on-modify.timewarrior" = {
source = "${pkgs.timewarrior}/share/doc/timew/ext/on-modify.timewarrior";
executable = true;
};
}

View file

@ -7,8 +7,8 @@
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cryptsetup cryptsetup
nfs-utils
]; ];
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
@ -23,7 +23,16 @@
programs.ssh = { programs.ssh = {
startAgent = true; startAgent = true;
}; };
services.flatpak.enable = true;
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
};
hardware.opengl.enable = true; hardware.opengl.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;