Add conform.nvim
This commit is contained in:
parent
af3d4c5362
commit
251aff5668
24
flake.lock
24
flake.lock
|
@ -129,11 +129,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748227609,
|
"lastModified": 1748618795,
|
||||||
"narHash": "sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA=",
|
"narHash": "sha256-XrNoXAbUenzde4NKMsuCYdmW8t+2/Ks+vcFrlwRh4K4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d23d20f55d49d8818ac1f1b2783671e8a6725022",
|
"rev": "214f9bd3a693bbc8cc6d705d01421787e04eaacd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -197,11 +197,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748190013,
|
"lastModified": 1748460289,
|
||||||
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
|
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -213,11 +213,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748190013,
|
"lastModified": 1748460289,
|
||||||
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
|
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -250,11 +250,11 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748346488,
|
"lastModified": 1748623660,
|
||||||
"narHash": "sha256-JbpFeCTDOUKFU1tiIk2oXDPAjEiGSh1Ggy+rusyiP3Y=",
|
"narHash": "sha256-v9ft0B0QvlwF/bQH/bGC8ukXanyPm/bMvH/nW0oI/hg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "35bf569767fb8b3ad033bedc4b179cea2b25f1ba",
|
"rev": "243a9eae2fa0d61be6d68c947abb295d9ba32391",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -28,20 +28,6 @@
|
||||||
{ nixpkgs.overlays = [
|
{ nixpkgs.overlays = [
|
||||||
nur.overlays.default
|
nur.overlays.default
|
||||||
(self: super: { utillinux = super.util-linux; })
|
(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;
|
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.upower.enable = true;
|
||||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
||||||
services.throttled.enable = true;
|
services.throttled.enable = true;
|
||||||
|
services.thinkfan.enable = true;
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue