Add conform.nvim
This commit is contained in:
parent
af3d4c5362
commit
251aff5668
24
flake.lock
24
flake.lock
|
@ -129,11 +129,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1748227609,
|
||||
"narHash": "sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA=",
|
||||
"lastModified": 1748618795,
|
||||
"narHash": "sha256-XrNoXAbUenzde4NKMsuCYdmW8t+2/Ks+vcFrlwRh4K4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "d23d20f55d49d8818ac1f1b2783671e8a6725022",
|
||||
"rev": "214f9bd3a693bbc8cc6d705d01421787e04eaacd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -197,11 +197,11 @@
|
|||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1748190013,
|
||||
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
|
||||
"lastModified": 1748460289,
|
||||
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
||||
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -213,11 +213,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1748190013,
|
||||
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
|
||||
"lastModified": 1748460289,
|
||||
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
||||
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -250,11 +250,11 @@
|
|||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1748346488,
|
||||
"narHash": "sha256-JbpFeCTDOUKFU1tiIk2oXDPAjEiGSh1Ggy+rusyiP3Y=",
|
||||
"lastModified": 1748623660,
|
||||
"narHash": "sha256-v9ft0B0QvlwF/bQH/bGC8ukXanyPm/bMvH/nW0oI/hg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "35bf569767fb8b3ad033bedc4b179cea2b25f1ba",
|
||||
"rev": "243a9eae2fa0d61be6d68c947abb295d9ba32391",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
14
flake.nix
14
flake.nix
|
@ -28,20 +28,6 @@
|
|||
{ nixpkgs.overlays = [
|
||||
nur.overlays.default
|
||||
(self: super: { utillinux = super.util-linux; })
|
||||
# (final: prev: {
|
||||
# sunshine = prev.sunshine.overrideAttrs (old: {
|
||||
# src = prev.fetchFromGitHub {
|
||||
# owner = "LizardByte";
|
||||
# repo = "Sunshine";
|
||||
# rev = "64544e7960f5141f71438d72e5dedad81c03729c";
|
||||
# hash = "sha256-gDLV9GQ7mbPj1t6Bm4NyS49p4eKc66uAyhG4KmhD+fM=";
|
||||
# fetchSubmodules = true;
|
||||
# };
|
||||
# preferLocalBuild = true;
|
||||
# allowSubstitutes = false;
|
||||
# version = "64544e7960f5141f71438d72e5dedad81c03729c";
|
||||
# });
|
||||
# })
|
||||
]; }
|
||||
{
|
||||
networking.hostName = host;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'stevearc/conform.nvim',
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
python = { 'ruff_format' },
|
||||
},
|
||||
format_on_save = {
|
||||
-- These options will be passed to conform.format()
|
||||
timeout_ms = 500,
|
||||
lsp_format = "fallback",
|
||||
},
|
||||
}
|
||||
}
|
|
@ -19,6 +19,7 @@ in {
|
|||
services.upower.enable = true;
|
||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
||||
services.throttled.enable = true;
|
||||
services.thinkfan.enable = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue