dotfiles

My PC Dotfiles & Website
commit 7ae0fc34799b5cf950d7029c463aad16757b947c
parent ec1d080e9412c12bebb0d71c5c381a599c81be1d
Author: maydayv7 <maydayv7@gmail.com>
Date:   Sat,  2 Jul 2022 18:16:40 +0530

chore(flake.lock): Update `inputs`

Flake lock file updates:

• Updated input 'gaming':
    'github:fufexan/nix-gaming/0b4e36ef5347ef4fefd469279490851b2bfa5116' (2022-06-01)
  → 'github:fufexan/nix-gaming/76923470f96d5ca3e3899dc733bc6168fefafee0' (2022-06-29)
• Updated input 'generators':
    'github:nix-community/nixos-generators/fb3ee0f618b8c80dea1239691b15dfeb4bb46331' (2022-05-23)
  → 'github:nix-community/nixos-generators/898edde476232843da50c9a855efaf5dd8caadaa' (2022-06-22)
• Updated input 'hardware':
    'github:nixos/nixos-hardware/0cab18a48de7914ef8cad35dca0bb36868f3e1af' (2022-06-01)
  → 'github:nixos/nixos-hardware/a50513f8a6c470208d7c494439775e62c3f47ce1' (2022-06-30)
• Updated input 'home':
    'github:nix-community/home-manager/ac2287df5a2d6f0a44bbcbd11701dbbf6ec43675' (2022-06-01)
  → 'github:nix-community/home-manager/4a3d01fb53f52ac83194081272795aa4612c2381' (2022-06-25)
• Updated input 'hooks':
    'github:cachix/pre-commit-hooks.nix/521a524771a8e93caddaa0ac1d67d03766a8b0b3' (2022-05-16)
  → 'github:cachix/pre-commit-hooks.nix/db3bd555d3a3ceab208bed48f983ccaa6a71a25e' (2022-06-25)
• Updated input 'nur':
    'github:nix-community/NUR/86ff2d098bce1d623232f4886027a1d61317b195' (2022-06-04)
  → 'github:nix-community/NUR/b58e819d423cc525475b43bd06cf5f999feb5325' (2022-06-30)
• Updated input 'sops':
    'github:Mic92/sops-nix/36b5901782e7fbfc191cace910f67f8b8743f678' (2022-05-29)
  → 'github:Mic92/sops-nix/d26947f2d6252e2aae5ffddfe9b38b7c4b94e8f9' (2022-06-28)
• Updated input 'sops/nixpkgs-21_11':
    'github:NixOS/nixpkgs/baa82d4b626288c7439eeea073a18aabbe435991' (2022-05-29)
  → 'github:NixOS/nixpkgs/46af3303651699dc58cfc251d9b18c0f59d857da' (2022-06-25)
• Updated input 'sops/nixpkgs-22_05':
    'github:NixOS/nixpkgs/db78278ff296cf21eca7e8c08ee99707387a54fa' (2022-05-29)
  → 'github:NixOS/nixpkgs/72a1f167077060a1a7b6e0104863245d0483fa7f' (2022-06-25)
• Updated input 'stable':
    'github:NixOS/nixpkgs/7a20c208aacf4964c19186dcad51f89165dc7ed0' (2022-06-03)
  → 'github:NixOS/nixpkgs/dbb62c34bbb5cdf05f1aeab07638b24b0824d605' (2022-06-30)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/236cc2971ac72acd90f0ae3a797f9f83098b17ec' (2022-06-03)
  → 'github:NixOS/nixpkgs/cf3ab54b4afe2b7477faa1dd0b65bf74c055d70c' (2022-06-29)
• Updated input 'vscode':
    'github:msteen/nixos-vscode-server/d2343b5eb47b811856085f3eff4d899a32b2c136' (2022-04-01)
  → 'github:msteen/nixos-vscode-server/178c809a9dbd3f4df25ed7fbe23a52c35233502d' (2022-06-30)
• Updated input 'windows':
    'git+https://git.m-labs.hk/M-Labs/wfvm?ref=master&rev=9d07da799c23a221b0a6462a5db404007ac18250' (2021-12-17)
  → 'git+https://git.m-labs.hk/M-Labs/wfvm?ref=refs%2fheads%2fmaster&rev=9d07da799c23a221b0a6462a5db404007ac18250' (2021-12-17)
• Updated input 'wine':
    'github:emmanuelrosa/erosanix/54ac29dfe5d8d34f28321b34d0ef635f88048709' (2022-06-03)
  → 'github:emmanuelrosa/erosanix/8e141ae755f4e4713185f20e38e27013d72bfb3c' (2022-06-29)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: maydayv7 <maydayv7@gmail.com>

Diffstat:

MREADME.md | 1+
Mconfiguration.nix | 2+-
Mfiles/xdg/mime.nix | 4++++
Mflake.lock | 80++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mmodules/nix/checks.nix | 7+------
5 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/README.md b/README.md @@ -346,6 +346,7 @@ The system may be set up using either a `simple` or `advanced` filesystem layout All important, persisted user files are stored at `/data`. Personal files and media are stored on an NTFS partition mounted to `/data/files` ### Home Manager + The [`home-manager`](https://github.com/nix-community/home-manager) module is used in tandem with the system configuration in order to define user-specific configuration. The `config.user.home` option has been declared in [`modules/user/default.nix`](./modules/user/default.nix) independent of the original module, from which the final configuration is built, in order to prevent infinite recursion while configuring multiple users per system. The system `config` can be accessed using the `sys` parameter in `home-manager` modules ## Links diff --git a/configuration.nix b/configuration.nix @@ -35,7 +35,7 @@ in call = name: pkgs.callPackage name {inherit lib inputs pkgs files;}; in { ## Configuration Checks ## - checks = import ./modules/nix/checks.nix {inherit self system lib pkgs;}; + checks = import ./modules/nix/checks.nix {inherit self system lib;}; ## Developer Shells ## devShells = diff --git a/files/xdg/mime.nix b/files/xdg/mime.nix @@ -24,6 +24,8 @@ image = [ "image/bmp" "image/gif" + "image/heic" + "image/heif" "image/jpeg" "image/jpg" "image/png" @@ -60,9 +62,11 @@ "video/mp4" "video/mpeg" "video/ogg" + "video/quicktime" "video/webm" "video/x-flv" "video/x-matroska" + "video/x-ms-wmv" "video/x-msvideo" ]; } diff --git a/flake.lock b/flake.lock @@ -80,11 +80,11 @@ ] }, "locked": { - "lastModified": 1654096541, - "narHash": "sha256-GDy7RnRH7idcF6uzNQXPII14OWgb49ExwAu8MHeZTtI=", + "lastModified": 1656538843, + "narHash": "sha256-LOz946WwnE1no0J4RZeXxhb9w/9ndo4KAJPw8YA8Izk=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "0b4e36ef5347ef4fefd469279490851b2bfa5116", + "rev": "76923470f96d5ca3e3899dc733bc6168fefafee0", "type": "github" }, "original": { @@ -103,11 +103,11 @@ ] }, "locked": { - "lastModified": 1653339081, - "narHash": "sha256-dpim9Mtd57Yj6qt7p7UKwjWm6NnOU3S7jaEyEscSyPE=", + "lastModified": 1655901362, + "narHash": "sha256-1cPiO869Dr3hqn1qhqd6amvw5U0PB7XDSdwMsIMWNiQ=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "fb3ee0f618b8c80dea1239691b15dfeb4bb46331", + "rev": "898edde476232843da50c9a855efaf5dd8caadaa", "type": "github" }, "original": { @@ -118,11 +118,11 @@ }, "hardware": { "locked": { - "lastModified": 1654057797, - "narHash": "sha256-mXo7C4v7Jj2feBzcReu1Eu/3Rnw5b023E9kOyFsHZQw=", + "lastModified": 1656624504, + "narHash": "sha256-EuNui6P5tHk4YkfiYjcRzfc9wxpoTl2OOOgpyF6bWfs=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "0cab18a48de7914ef8cad35dca0bb36868f3e1af", + "rev": "a50513f8a6c470208d7c494439775e62c3f47ce1", "type": "github" }, "original": { @@ -138,11 +138,11 @@ ] }, "locked": { - "lastModified": 1654113405, - "narHash": "sha256-VpK+0QaWG2JRgB00lw77N9TjkE3ec0iMYIX1TzGpxa4=", + "lastModified": 1656169755, + "narHash": "sha256-Nlnm4jeQWEGjYrE6hxi/7HYHjBSZ/E0RtjCYifnNsWk=", "owner": "nix-community", "repo": "home-manager", - "rev": "ac2287df5a2d6f0a44bbcbd11701dbbf6ec43675", + "rev": "4a3d01fb53f52ac83194081272795aa4612c2381", "type": "github" }, "original": { @@ -163,11 +163,11 @@ ] }, "locked": { - "lastModified": 1652714503, - "narHash": "sha256-qQKVEfDe5FqvGgkZtg5Pc491foeiDPIOeycHMqnPDps=", + "lastModified": 1656169028, + "narHash": "sha256-y9DRauokIeVHM7d29lwT8A+0YoGUBXV3H0VErxQeA8s=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "521a524771a8e93caddaa0ac1d67d03766a8b0b3", + "rev": "db3bd555d3a3ceab208bed48f983ccaa6a71a25e", "type": "github" }, "original": { @@ -230,11 +230,11 @@ }, "nixpkgs-21_11": { "locked": { - "lastModified": 1653819578, - "narHash": "sha256-a1vaUl6VZz1NsWxMw0i5lRyHIOVUIuMZdQzV+4s+rY8=", + "lastModified": 1656198488, + "narHash": "sha256-xe81o3Kin6a0jXA3mTxcR+jeA1jLKw3TCar5LUo/B5c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "baa82d4b626288c7439eeea073a18aabbe435991", + "rev": "46af3303651699dc58cfc251d9b18c0f59d857da", "type": "github" }, "original": { @@ -246,11 +246,11 @@ }, "nixpkgs-22_05": { "locked": { - "lastModified": 1653822412, - "narHash": "sha256-xZwMDQ8MdNiTwE8dcKAX1h3qCmLtuudNGxmFUX3xIes=", + "lastModified": 1656199498, + "narHash": "sha256-/BCpM7j7y1G4het6Z3idlnv9A87/s0O1glVmH7fnWvk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "db78278ff296cf21eca7e8c08ee99707387a54fa", + "rev": "72a1f167077060a1a7b6e0104863245d0483fa7f", "type": "github" }, "original": { @@ -262,11 +262,11 @@ }, "nur": { "locked": { - "lastModified": 1654367137, - "narHash": "sha256-xufB/+qvk/7rh7qrwZbzru1kTu8nsmNWBNQkYbdS84Q=", + "lastModified": 1656611551, + "narHash": "sha256-S1GkwCgMimVVU1nrwezTkoOqsoiXvvK1+pu4zplsqwo=", "owner": "nix-community", "repo": "NUR", - "rev": "86ff2d098bce1d623232f4886027a1d61317b195", + "rev": "b58e819d423cc525475b43bd06cf5f999feb5325", "type": "github" }, "original": { @@ -307,11 +307,11 @@ "nixpkgs-22_05": "nixpkgs-22_05" }, "locked": { - "lastModified": 1653827546, - "narHash": "sha256-va51HFf7UwktvriIbe9pjRPMr7p8IaxrwcDlZe7twzI=", + "lastModified": 1656399028, + "narHash": "sha256-re66+rVHGR3y+0QsaDAwoAHCfoi3BlGV24t2EqRZsAE=", "owner": "Mic92", "repo": "sops-nix", - "rev": "36b5901782e7fbfc191cace910f67f8b8743f678", + "rev": "d26947f2d6252e2aae5ffddfe9b38b7c4b94e8f9", "type": "github" }, "original": { @@ -322,11 +322,11 @@ }, "stable": { "locked": { - "lastModified": 1654275867, - "narHash": "sha256-pt14ZE4jVPGvfB2NynGsl34pgXfOqum5YJNpDK4+b9E=", + "lastModified": 1656589841, + "narHash": "sha256-Kqd6r9aNIzjYGhMFYATdKwRbXBCGLcdqAJMLr4I8LG0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7a20c208aacf4964c19186dcad51f89165dc7ed0", + "rev": "dbb62c34bbb5cdf05f1aeab07638b24b0824d605", "type": "github" }, "original": { @@ -338,11 +338,11 @@ }, "unstable": { "locked": { - "lastModified": 1654230545, - "narHash": "sha256-8Vlwf0x8ow6pPOK2a04bT+pxIeRnM1+O0Xv9/CuDzRs=", + "lastModified": 1656461576, + "narHash": "sha256-rlmmw6lIlkMQIiB+NsnO8wQYWTfle8TA41UREPLP5VY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "236cc2971ac72acd90f0ae3a797f9f83098b17ec", + "rev": "cf3ab54b4afe2b7477faa1dd0b65bf74c055d70c", "type": "github" }, "original": { @@ -373,11 +373,11 @@ "vscode": { "flake": false, "locked": { - "lastModified": 1648830510, - "narHash": "sha256-U+UGKbZajc2NqDvBL7hCYshAiaXgiBv5rNFIqLl0X7M=", + "lastModified": 1656601662, + "narHash": "sha256-oWYGxfZekFiFtakJ08Ic2rv1B77zgaGOrbIzuon8wig=", "owner": "msteen", "repo": "nixos-vscode-server", - "rev": "d2343b5eb47b811856085f3eff4d899a32b2c136", + "rev": "178c809a9dbd3f4df25ed7fbe23a52c35233502d", "type": "github" }, "original": { @@ -391,7 +391,7 @@ "locked": { "lastModified": 1639769632, "narHash": "sha256-s1Tfm1x9EUNdd2HdtPnI+4zr6XTGtkspuFn50kqYdhM=", - "ref": "master", + "ref": "refs/heads/master", "rev": "9d07da799c23a221b0a6462a5db404007ac18250", "revCount": 37, "type": "git", @@ -412,11 +412,11 @@ ] }, "locked": { - "lastModified": 1654285609, - "narHash": "sha256-FkzWM0GIMk+7njNJ3GyLMwiZe9GC+KaLsxrfcQG1tiA=", + "lastModified": 1656514149, + "narHash": "sha256-TupJhXbROV4uFMrrjd2Oj3sWLvXFtRVyjZXcQMMnwZQ=", "owner": "emmanuelrosa", "repo": "erosanix", - "rev": "54ac29dfe5d8d34f28321b34d0ef635f88048709", + "rev": "8e141ae755f4e4713185f20e38e27013d72bfb3c", "type": "github" }, "original": { diff --git a/modules/nix/checks.nix b/modules/nix/checks.nix @@ -2,7 +2,6 @@ self, system, lib, - pkgs, }: with {inherit (lib) deploy filters hooks util;}; # Install Media Checks @@ -19,11 +18,7 @@ with {inherit (lib) deploy filters hooks util;}; nix-linter.enable = false; shellcheck.enable = true; statix.enable = true; - stylua = { - enable = true; - types = ["file" "lua"]; - entry = "${pkgs.stylua}/bin/stylua"; - }; + stylua.enable = true; }; settings = {