From 44f0e3920486fde152a8952c10494a66e0715129 Mon Sep 17 00:00:00 2001 From: Kenryu Shibata Date: Fri, 27 Sep 2024 00:49:10 +0900 Subject: [PATCH] update: 9/26/2024 --- flake.lock | 18 +++++++++--------- system/hardware/opengl.nix | 6 +++--- system/services/steam.nix | 1 + user/dev/editor/neovim.nix | 6 +++--- user/shell/bash.nix | 3 ++- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 3c28aef..998971d 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1726440980, - "narHash": "sha256-ChhIrjtdu5d83W+YDRH+Ec5g1MmM0xk6hJnkz15Ot7M=", + "lastModified": 1727346017, + "narHash": "sha256-z7OCFXXxIseJhEHiCkkUOkYxD9jtLU8Kf5Q9WC0SjJ8=", "owner": "nix-community", "repo": "home-manager", - "rev": "a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff", + "rev": "c124568e1054a62c20fbe036155cc99237633327", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1726489388, - "narHash": "sha256-JBHtN+n1HzKawpnOQAz6jdgvrtYV9c/kyzgoIdguQGo=", + "lastModified": 1727040444, + "narHash": "sha256-19FNN5QT9Z11ZUMfftRplyNN+2PgcHKb3oq8KMW/hDA=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "dc8b0296f68f72f3fe77469c549a6f098555c2e9", + "rev": "d0cb432a9d28218df11cbd77d984a2a46caeb5ac", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1726463316, - "narHash": "sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c=", + "lastModified": 1727122398, + "narHash": "sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "99dc8785f6a0adac95f5e2ab05cc2e1bf666d172", + "rev": "30439d93eb8b19861ccbe3e581abf97bdc91b093", "type": "github" }, "original": { diff --git a/system/hardware/opengl.nix b/system/hardware/opengl.nix index 55243c1..50a91d3 100644 --- a/system/hardware/opengl.nix +++ b/system/hardware/opengl.nix @@ -1,8 +1,8 @@ { pkgs, ... }: { - hardware.opengl.enable = true; - hardware.opengl.driSupport32Bit = true; - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable = true; + hardware.graphics.driSupport32Bit = true; + hardware.graphics.extraPackages = with pkgs; [ mesa ]; } diff --git a/system/services/steam.nix b/system/services/steam.nix index 11839b0..b3b5f72 100644 --- a/system/services/steam.nix +++ b/system/services/steam.nix @@ -2,4 +2,5 @@ { environment.systemPackages = [ pkgs.steam ]; programs.steam.enable = true; + programs.steam.fontPackages = with pkgs; [ ipafont ]; } diff --git a/user/dev/editor/neovim.nix b/user/dev/editor/neovim.nix index 45d3eaa..ec845ce 100644 --- a/user/dev/editor/neovim.nix +++ b/user/dev/editor/neovim.nix @@ -8,9 +8,9 @@ enable = true; vimAlias = false; viAlias = false; - withRuby = false; - withPython3 = false; - withNodeJs = false; + withRuby = true; + withPython3 = true; + withNodeJs = true; package = pkgs.neovim-unwrapped; }; } diff --git a/user/shell/bash.nix b/user/shell/bash.nix index af8754f..97f0ec4 100644 --- a/user/shell/bash.nix +++ b/user/shell/bash.nix @@ -10,9 +10,10 @@ in programs.bash = { enable = true; shellAliases = { - search-pkg = "nix search -I nixpkgs=flake:nixpkgs nixpkgs"; + search-pkg = "nix search -I nixpkgs=flake:nixpkgs nixpkgs"; newpkg = "bash ~/.dotfiles/newpkg.sh"; rebuild = "sudo nixos-rebuild switch --flake '.#system'"; + update-flake = "nix flake update"; l = lsCmd; ls = lsCmd; };