This commit is contained in:
joy 2024-10-19 19:50:22 +02:00
parent 95b89d3b58
commit fedfe43f28
8 changed files with 50 additions and 24 deletions

View file

@ -96,11 +96,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1729260790, "lastModified": 1729321532,
"narHash": "sha256-QhsyaQ7PAJ3W0k2oYoNkCwBTd+Sr6Z2IZfU8o7j7cKY=", "narHash": "sha256-3/d/mbLQhrkE1qK2Ut/mrMElE6fP9t6ITJoRQ6F+D7o=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "5fb9e4cb8f9c47d0edac20d23c39f878a7602e5b", "rev": "70087c8c6e491dcc0bbff459073b480b1a72ac1c",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -202,11 +202,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729260213, "lastModified": 1729321331,
"narHash": "sha256-jAvHoU/1y/yCuXzr2fNF+q6uKmr8Jj2xgAisK4QB9to=", "narHash": "sha256-KVyQq+ez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "09a0c0c02953318bf94425738c7061ffdc4cba75", "rev": "122f70545b29ccb922e655b08acfe05bfb44ec68",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -311,11 +311,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1728888510, "lastModified": 1729256560,
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=", "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c", "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -8,12 +8,13 @@
games.enable = lib.mkEnableOption ""; games.enable = lib.mkEnableOption "";
}; };
config = lib.mkIf config.games.enable { config = lib.mkIf config.games.enable {
programs.steam.enable = true; # programs.steam.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"steam-original" "steam-original"
"steam" "steam"
"steam-run" "steam-run"
"steam-unwrapped-1.0.0.81"
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
mangohud mangohud

View file

@ -1,20 +1,20 @@
{ lib, ... }: { {lib, ...}: {
programs.foot = { programs.foot = {
enable = true; enable = true;
settings = { settings = {
# terminal = { main = {
# padding = "5 5"; pad = "2x2";
# }; };
colors = { colors = {
# "bright-black" = lib.mkForce "#504945"; "bright0" = lib.mkForce "504945";
# "bright-red" = lib.mkForce "#fb4934"; "bright1" = lib.mkForce "fb4934";
# "bright-green" = lib.mkForce "#b8bb26"; "bright2" = lib.mkForce "b8bb26";
# "bright-yellow" = lib.mkForce "#fabd2f"; "bright3" = lib.mkForce "fabd2f";
# "bright-blue" = lib.mkForce "#83a598"; "bright4" = lib.mkForce "83a598";
# "bright-magenta" = lib.mkForce "#d3869b"; "bright5" = lib.mkForce "d3869b";
# "bright-cyan" = lib.mkForce "#8ec07c"; "bright6" = lib.mkForce "8ec07c";
# "bright-white" = lib.mkForce "#ebdbb2"; "bright7" = lib.mkForce "ebdbb2";
}; };
}; };
}; };

View file

@ -0,0 +1,7 @@
{config, ...}: {
xdg.userDirs = {
enable = true;
download = "${config.home.homeDirectory}/dl";
desktop = "${config.home.homeDirectory}/dl";
};
}

View file

@ -1,3 +1,16 @@
{ {
programs.yazi.enable = true; programs.yazi = {
enable = true;
settings = {
opener = {
edit = [
{
run = "hx \"$@\"";
block = true;
for = "unix";
}
];
};
};
};
} }

View file

@ -4,6 +4,8 @@ current_dir=$(pwd)
cd ~/nix || exit cd ~/nix || exit
alejandra .
git fetch git fetch
if git diff --quiet HEAD..origin/main; then if git diff --quiet HEAD..origin/main; then

View file

@ -6,4 +6,7 @@
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
services.xserver.excludePackages = [pkgs.xterm]; services.xserver.excludePackages = [pkgs.xterm];
programs.nano.enable = false; programs.nano.enable = false;
# environment.systemPackages = [
# pkgs.vim
# ];
} }

View file

@ -4,6 +4,6 @@
wl-clipboard wl-clipboard
]; ];
# services.cliphist.enable = true; services.cliphist.enable = true;
}; };
} }