Compare commits

..

No commits in common. "f1ee732c7ce4d03936e7aceab84d3ac1c9afacb8" and "1f5a5ae43abc2c21e6f2d37cdf1a98a3391cc0ce" have entirely different histories.

9 changed files with 46 additions and 28 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
private/ private/
home.nix
*.swp *.swp
result result
*.zip *.zip

30
flake.lock generated
View file

@ -89,11 +89,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758287904, "lastModified": 1756115622,
"narHash": "sha256-IGmaEf3Do8o5Cwp1kXBN1wQmZwQN3NLfq5t4nHtVtcU=", "narHash": "sha256-iv8xVtmLMNLWFcDM/HcAPLRGONyTRpzL9NS09RnryRM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "67ff9807dd148e704baadbd4fd783b54282ca627", "rev": "bafad29f89e83b2d861b493aa23034ea16595560",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -204,11 +204,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759853171, "lastModified": 1756496801,
"narHash": "sha256-uqbhyXtqMbYIiMqVqUhNdSuh9AEEkiasoK3mIPIVRhk=", "narHash": "sha256-IYIsnPy+cJxe8RbDHBrCtfJY0ry2bG2H7WvMcewiGS8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1a09eb84fa9e33748432a5253102d01251f72d6d", "rev": "77a71380c38fb2a440b4b5881bbc839f6230e1cb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -295,11 +295,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1759582739, "lastModified": 1756245047,
"narHash": "sha256-spZegilADH0q5OngM86u6NmXxduCNv5eX9vCiUPhOYc=", "narHash": "sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "3441b5242af7577230a78ffb03542add264179ab", "rev": "a65b650d6981e23edd1afa1f01eb942f19cdcbb7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -311,11 +311,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759733170, "lastModified": 1756386758,
"narHash": "sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI=", "narHash": "sha256-1wxxznpW2CKvI9VdniaUnTT2Os6rdRJcRUf65ZK9OtE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8913c168d1c56dc49a7718685968f38752171c3b", "rev": "dfb2f12e899db4876308eba6d93455ab7da304cd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -462,11 +462,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758728421, "lastModified": 1755934250,
"narHash": "sha256-ySNJ008muQAds2JemiyrWYbwbG+V7S5wg3ZVKGHSFu8=", "narHash": "sha256-CsDojnMgYsfshQw3t4zjRUkmMmUdZGthl16bXVWgRYU=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "5eda4ee8121f97b218f7cc73f5172098d458f1d1", "rev": "74e1a52d5bd9430312f8d1b8b0354c92c17453e5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,6 +12,7 @@ let
"gpg" "gpg"
#"gtk" #"gtk"
#"keyring" #"keyring"
"syncthing"
"tmux" "tmux"
"xdg" "xdg"
"zsh" "zsh"
@ -432,7 +433,7 @@ in
} }
''; '';
services.syncthing.enable = true; #services.poweralertd.enable = true;
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;

View file

@ -0,0 +1,21 @@
{
config,
pkgs,
lib,
...
}:
with lib;
let
cfg = config.dadada.home.syncthing;
in
{
options.dadada.home.syncthing = {
enable = mkEnableOption "Enable Syncthing config";
};
config = mkIf cfg.enable {
services.syncthing = {
enable = true;
tray = false;
};
};
}

View file

@ -35,6 +35,7 @@ in
plugins = [ plugins = [
]; ];
initContent = '' initContent = ''
source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh
source ${pkgs.fzf}/share/fzf/key-bindings.zsh source ${pkgs.fzf}/share/fzf/key-bindings.zsh
source ${pkgs.fzf}/share/fzf/completion.zsh source ${pkgs.fzf}/share/fzf/completion.zsh
eval "$(repo setup --root ~/src)" eval "$(repo setup --root ~/src)"
@ -75,6 +76,7 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
fzf fzf
eza eza
zsh-git-prompt
tmux tmux
]; ];
}; };

View file

@ -69,8 +69,7 @@ with pkgs;
krita krita
ldns ldns
liboping # oping, ping multiple hosts at once liboping # oping, ping multiple hosts at once
# FIXME: broken in nixpkgs libreoffice
#libreoffice
libvirt libvirt
lsof lsof
lynis lynis
@ -93,7 +92,6 @@ with pkgs;
nodePackages.prettier nodePackages.prettier
map-cmd map-cmd
obs-studio obs-studio
obsidian
offlineimap offlineimap
openscad openscad
openssl openssl
@ -123,8 +121,7 @@ with pkgs;
skim # fzf in Rust skim # fzf in Rust
slurp slurp
socat socat
# FIXME: broken in nixpkgs solvespace
#solvespace
spotify spotify
sqlite sqlite
sshfs-fuse sshfs-fuse

View file

@ -19,7 +19,6 @@ let
builtins.elem (nixpkgs.lib.getName pkg) [ builtins.elem (nixpkgs.lib.getName pkg) [
"aspell-dict-en-science" "aspell-dict-en-science"
"brgenml1lpr" "brgenml1lpr"
"obsidian"
"saleae-logic-2" "saleae-logic-2"
"spotify" "spotify"
"steam" "steam"

View file

@ -1,6 +1,7 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = pkgs.lib.attrValues inputs.self.hmModules; home-manager.sharedModules = pkgs.lib.attrValues inputs.self.hmModules;
home-manager.users.dadada = inputs.self.hmConfigurations.dadada; home-manager.users.dadada = inputs.self.hmConfigurations.dadada;
} }

View file

@ -45,12 +45,9 @@
}; };
environment.systemPackages = [ environment.systemPackages = [
config.dadada.pkgs.repo-rs
# For debugging and troubleshooting Secure Boot. # For debugging and troubleshooting Secure Boot.
pkgs.sbctl pkgs.sbctl
# Framework embedded controller interface config.dadada.pkgs.repo-rs
# FIXME: build broken in nixpkgs
#pkgs.fw-ectool
]; ];
hardware = { hardware = {
@ -63,8 +60,7 @@
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
vaapiVdpau vaapiVdpau
# FIXME: broken in nixpkgs libvdpau-va-gl
# libvdpau-va-gl
]; ];
}; };
}; };