More stuff
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -52,8 +52,14 @@
|
||||
} @ inputs: let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
mkHost = hostname: nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./disko.nix
|
||||
./filesystem.nix
|
||||
./mounts.nix
|
||||
./${hostname}-hardware-configuration.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -30,5 +30,18 @@
|
||||
"noauto"
|
||||
];
|
||||
};
|
||||
|
||||
"/home/chris/Games" = {
|
||||
device = "889e9f90-2d41-4f6b-a0af-21a727465a32";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"x-systemd.mount-timeout=5"
|
||||
"user"
|
||||
"exec"
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -4,9 +4,9 @@
|
||||
imports = [
|
||||
./packages.nix
|
||||
./programs.nix
|
||||
./hooks.nix
|
||||
./impermanence.nix
|
||||
./services.nix
|
||||
./hooks.nix
|
||||
./impermanence.nix
|
||||
./services.nix
|
||||
];
|
||||
home = {
|
||||
username = "chris";
|
||||
|
||||
@@ -72,6 +72,12 @@
|
||||
if [ ! -f "$DEST_FILE" ]; then
|
||||
cp "${../initial-configs/Enpass.conf}" "$DEST_FILE"
|
||||
fi
|
||||
|
||||
DEST_FILE="$HOME/.config/obsidian/obsidian.json"
|
||||
|
||||
if [ ! -f "$DEST_FILE" ]; then
|
||||
cp "${../initial-configs/obsidian.json}" "$DEST_FILE"
|
||||
fi
|
||||
'';
|
||||
setupDefaultWallpaper = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
if [[ -v DRY_RUN ]]; then
|
||||
|
||||
@@ -12,13 +12,17 @@
|
||||
".cache/zsh"
|
||||
".mozilla/firefox"
|
||||
".config/nvim"
|
||||
".cache/wal"
|
||||
".config/yazi/plugins"
|
||||
".config/nixos"
|
||||
".config/sinew.in"
|
||||
".config/chromium"
|
||||
".config/obsidian"
|
||||
".config/superProductivity"
|
||||
".config/Antigravity"
|
||||
".local/share/direnv"
|
||||
".local/share/nvim"
|
||||
".local/share/krita"
|
||||
".local/share/voxtype"
|
||||
".local/share/zoxide"
|
||||
".local/share/Enpass"
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
{ pkgs, try-cli, ... }:
|
||||
{ pkgs, pkgs-unstable, try-cli, ... }:
|
||||
|
||||
let
|
||||
enpass = pkgs.enpass.overrideAttrs (oldAttrs: rec {
|
||||
version = "6.11.13.1957";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://apt.enpass.io/pool/main/e/enpass/enpass_${version}_amd64.deb";
|
||||
sha256 = "2d8c90643851591aff41057b380a7e87bb839bf5c5aa0ca1456144e9996c902a";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
@@ -16,8 +26,8 @@
|
||||
antigravity # Gemini AI coding assistant
|
||||
bluetui # Bluetooth TUI
|
||||
direnv # Directory environment manager
|
||||
#enpass # Password manager
|
||||
#enpass-cli # Enpass CLI tool
|
||||
enpass # Password manager
|
||||
enpass-cli # Enpass CLI tool
|
||||
expressvpn # VPN
|
||||
ffmpeg # Video tools
|
||||
ffmpegthumbnailer # Video thumbnailer
|
||||
@@ -30,7 +40,6 @@
|
||||
krita # Digital art software
|
||||
libreoffice-fresh # Office suite
|
||||
lunar-client # Minecraft launcher
|
||||
mailspring # Mail client
|
||||
mpv # Video player
|
||||
nautilus # Document viewer
|
||||
nextcloud-client # Nextcloud sync client
|
||||
@@ -40,11 +49,31 @@
|
||||
super-productivity # Task app
|
||||
sxiv # Minimal image viewer
|
||||
tenacity # Audio software
|
||||
thunderbird # Mail client
|
||||
try-cli.packages.${pkgs.system}.default # Try CLI tool
|
||||
wally-cli # Keyboard flasher
|
||||
wiremix # Audio mixer TUI
|
||||
xournalpp # Handwriting note-taking software
|
||||
yad # For creating dialogs during install script
|
||||
zenity # For creating dialogs during install script
|
||||
zathura # Minimal PDF viewer
|
||||
];
|
||||
xdg.desktopEntries.enpass = {
|
||||
type = "Application";
|
||||
name = "Enpass";
|
||||
genericName = "Enpass Password Manager";
|
||||
icon = "enpass";
|
||||
terminal = false;
|
||||
exec = "env QT_SCREEN_SCALE_FACTORS=2 ${enpass}/bin/Enpass %U";
|
||||
mimeType = [
|
||||
"x-scheme-handler/enpassauth"
|
||||
"x-scheme-handler/enpasscard"
|
||||
"x-scheme-handler/enpassstart"
|
||||
"x-scheme-handler/enpass"
|
||||
"x-scheme-handler/cloudkit-7adb8cc64f.in.sinew.walletx"
|
||||
"x-scheme-handler/enpassshare"
|
||||
"application/enpasscard"
|
||||
];
|
||||
categories = [ "Utility" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,6 +23,10 @@
|
||||
elephant = {
|
||||
enable = true;
|
||||
};
|
||||
waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
voxtype = {
|
||||
enable = true;
|
||||
package = voxtype.packages.${pkgs.system}.vulkan;
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
rustc # Rust compiler
|
||||
rustfmt # Rust formatter
|
||||
satty # Screenshot editor TODO: Figure out and configure
|
||||
sshpass # SSH with password in CLI, used by install scripts
|
||||
swaybg # Wayland wallpaper utility
|
||||
tldr # Simplified man pages
|
||||
tmux # Terminal multiplexer
|
||||
|
||||
Reference in New Issue
Block a user