Compare commits
No commits in common. "1fb9a149a50801b439142c1e0c61b4b16c15f7b6" and "2951e81a774ecc9d8b85e3d26f138eddd85a8b82" have entirely different histories.
1fb9a149a5
...
2951e81a77
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, nixos-hardware, ... }:
|
{ pkgs, lib, nixos-hardware, unixpkgs, ... }:
|
||||||
let
|
let
|
||||||
displays = {
|
displays = {
|
||||||
embedded = {
|
embedded = {
|
||||||
|
@ -63,6 +63,14 @@ in
|
||||||
# TODO Display 2 doesn't work anymore?
|
# TODO Display 2 doesn't work anymore?
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
displaylink = (import unixpkgs {
|
||||||
|
inherit (super) system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
}).displaylink;
|
||||||
|
})
|
||||||
|
];
|
||||||
services = {
|
services = {
|
||||||
autorandr = {
|
autorandr = {
|
||||||
profiles = {
|
profiles = {
|
||||||
|
|
413
flake.lock
413
flake.lock
|
@ -5,11 +5,11 @@
|
||||||
"fromYaml": "fromYaml"
|
"fromYaml": "fromYaml"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732200724,
|
"lastModified": 1708890466,
|
||||||
"narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=",
|
"narHash": "sha256-LlrC09LoPi8OPYOGPXegD72v+//VapgAqhbOFS3i8sc=",
|
||||||
"owner": "SenchoPens",
|
"owner": "SenchoPens",
|
||||||
"repo": "base16.nix",
|
"repo": "base16.nix",
|
||||||
"rev": "153d52373b0fb2d343592871009a286ec8837aec",
|
"rev": "665b3c6748534eb766c777298721cece9453fdae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -34,14 +34,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"base16-foot": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696725948,
|
||||||
|
"narHash": "sha256-65bz2bUL/yzZ1c8/GQASnoiGwaF8DczlxJtzik1c0AU=",
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-foot",
|
||||||
|
"rev": "eedbcfa30de0a4baa03e99f5e3ceb5535c2755ce",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-foot",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"base16-helix": {
|
"base16-helix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725860795,
|
"lastModified": 1696727917,
|
||||||
"narHash": "sha256-Z2o8VBPW3I+KKTSfe25kskz0EUj7MpUh8u355Z1nVsU=",
|
"narHash": "sha256-FVrbPk+NtMra0jtlC5oxyNchbm8FosmvXIatkRbYy1g=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-helix",
|
"repo": "base16-helix",
|
||||||
"rev": "7f795bf75d38e0eea9fed287264067ca187b88a9",
|
"rev": "dbe1480d99fe80f08df7970e471fac24c05f2ddb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -50,18 +66,50 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"base16-vim": {
|
"base16-kitty": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731949548,
|
"lastModified": 1665001328,
|
||||||
"narHash": "sha256-XIDexXM66sSh5j/x70e054BnUsviibUShW7XhbDGhYo=",
|
"narHash": "sha256-aRaizTYPpuWEcvoYE9U+YRX+Wsc8+iG0guQJbvxEdJY=",
|
||||||
|
"owner": "kdrag0n",
|
||||||
|
"repo": "base16-kitty",
|
||||||
|
"rev": "06bb401fa9a0ffb84365905ffbb959ae5bf40805",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "kdrag0n",
|
||||||
|
"repo": "base16-kitty",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"base16-tmux": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696725902,
|
||||||
|
"narHash": "sha256-wDPg5elZPcQpu7Df0lI5O8Jv4A3T6jUQIVg63KDU+3Q=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-vim",
|
"repo": "base16-tmux",
|
||||||
"rev": "61165b1632409bd55e530f3dbdd4477f011cadc6",
|
"rev": "c02050bebb60dbb20cb433cd4d8ce668ecc11ba7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-tmux",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"base16-vim": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1663659192,
|
||||||
|
"narHash": "sha256-uJvaYYDMXvoo0fhBZUhN8WBXeJ87SRgof6GEK2efFT0=",
|
||||||
|
"owner": "chriskempson",
|
||||||
|
"repo": "base16-vim",
|
||||||
|
"rev": "3be3cd82cd31acfcab9a41bad853d9c68d30478d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "chriskempson",
|
||||||
"repo": "base16-vim",
|
"repo": "base16-vim",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -94,11 +142,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733168902,
|
"lastModified": 1730190761,
|
||||||
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=",
|
"narHash": "sha256-o5m5WzvY6cGIDupuOvjgNSS8AN6yP2iI9MtUC6q/uos=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5",
|
"rev": "3979285062d6781525cded0f6c4ff92e71376b55",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -136,6 +184,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-compat_3": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1673956053,
|
||||||
|
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
|
@ -144,11 +208,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504689,
|
"lastModified": 1727826117,
|
||||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -162,50 +226,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1726560853,
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils_3": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": [
|
|
||||||
"stylix",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -217,11 +242,11 @@
|
||||||
"fromYaml": {
|
"fromYaml": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731966426,
|
"lastModified": 1689549921,
|
||||||
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
|
"narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=",
|
||||||
"owner": "SenchoPens",
|
"owner": "SenchoPens",
|
||||||
"repo": "fromYaml",
|
"repo": "fromYaml",
|
||||||
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
|
"rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -232,10 +257,7 @@
|
||||||
},
|
},
|
||||||
"git-hooks": {
|
"git-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": "flake-compat_2",
|
||||||
"nixvim",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"nixvim",
|
||||||
|
@ -247,11 +269,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732021966,
|
"lastModified": 1729104314,
|
||||||
"narHash": "sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE=",
|
"narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c",
|
"rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -306,16 +328,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733050161,
|
"lastModified": 1726989464,
|
||||||
"narHash": "sha256-lYnT+EYE47f5yY3KS/Kd4pJ6CO9fhCqumkYYkQ3TK20=",
|
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "62d536255879be574ebfe9b87c4ac194febf47c5",
|
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "home-manager",
|
"id": "home-manager",
|
||||||
"ref": "release-24.11",
|
"ref": "release-24.05",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -327,16 +349,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732466619,
|
"lastModified": 1726989464,
|
||||||
"narHash": "sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c=",
|
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f3111f62a23451114433888902a55cf0692b408d",
|
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-24.11",
|
"ref": "release-24.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -349,11 +371,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733085484,
|
"lastModified": 1714981474,
|
||||||
"narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=",
|
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163",
|
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -362,50 +384,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ixx": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": [
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729958008,
|
|
||||||
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "ixx",
|
|
||||||
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"ref": "v0.0.6",
|
|
||||||
"repo": "ixx",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"labellenixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732691756,
|
|
||||||
"narHash": "sha256-/XYtpmaMUhgxebN6dJKOcy70Gf50nf+RHfQhZgbjNYc=",
|
|
||||||
"owner": "FabianRig",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "3da636775e87fe45fe5bbe79dafb2d8ea36648ec",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "FabianRig",
|
|
||||||
"ref": "update-labelle-1.3.2",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-darwin": {
|
"nix-darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -414,11 +392,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732603785,
|
"lastModified": 1729826725,
|
||||||
"narHash": "sha256-AEjWTJwOmSnVYsSJCojKgoguGfFfwel6z/6ud6UFMU8=",
|
"narHash": "sha256-w3WNlYxqWYsuzm/jgFPyhncduoDNjot28aC8j39TW0U=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "6ab87b7c84d4ee873e937108c4ff80c015a40c7a",
|
"rev": "7840909b00fbd5a183008a6eb251ea307fe4a76e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -482,11 +460,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733139194,
|
"lastModified": 1730161780,
|
||||||
"narHash": "sha256-PVQW9ovo0CJbhuhCsrhFJGGdD1euwUornspKpBIgdok=",
|
"narHash": "sha256-z5ILcmwMtiCoHTXS1KsQWqigO7HJO8sbyK7f7wn9F/E=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "c6c90887f84c02ce9ebf33b95ca79ef45007bf88",
|
"rev": "07d15e8990d5d86a631641b4c429bc0a7400cfb8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -496,16 +474,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732981179,
|
"lastModified": 1730137625,
|
||||||
"narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
|
"narHash": "sha256-9z8oOgFZiaguj+bbi3k4QhAD6JabWrnv7fscC/mt0KE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
|
"rev": "64b80bfb316b57cdb8919a9110ef63393d74382a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-24.05",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -552,20 +530,19 @@
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nuschtosSearch": "nuschtosSearch",
|
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733005332,
|
"lastModified": 1729945968,
|
||||||
"narHash": "sha256-sd+YV24AjFfqlx9G8fAf6A3wXORRIDBMk7QtGKF+jLY=",
|
"narHash": "sha256-4u+nbBSMuXWGCtXxUPPEflRm54+y/HLIbhIep9do8Ew=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "c500a3ffe18d8e7c7146dce26d7828b3dacd2320",
|
"rev": "c05ac01070425ed0797b1ff678dc690c333cea74",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-24.05",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -610,11 +587,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733174134,
|
"lastModified": 1730300129,
|
||||||
"narHash": "sha256-sc8NtwVHu4zsHgSlmH3pWPH7yIpd7HHLpteetQRcP3w=",
|
"narHash": "sha256-QZm3ZsHn/75VsGg7ScPGfdByqBPFIQHmbpjT37iQp2g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "927ae4b218c59b6f351d2bb90d4606b271bf19d3",
|
"rev": "656dcf946af3e368dd872fe525439518d8423080",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -623,56 +600,16 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nuschtosSearch": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"ixx": "ixx",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731936508,
|
|
||||||
"narHash": "sha256-z0BSSf78LkxIrrFXZYmCoRRAxAmxMUKpK7CyxQRvkZI=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"rev": "fe07070f811b717a4626d01fab714a87d422a9e1",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"onixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1730137625,
|
|
||||||
"narHash": "sha256-9z8oOgFZiaguj+bbi3k4QhAD6JabWrnv7fscC/mt0KE=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "64b80bfb316b57cdb8919a9110ef63393d74382a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"id": "nixpkgs",
|
|
||||||
"rev": "64b80bfb316b57cdb8919a9110ef63393d74382a",
|
|
||||||
"type": "indirect"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"labellenixpkgs": "labellenixpkgs",
|
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"onixpkgs": "onixpkgs",
|
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
"unixpkgs": "unixpkgs"
|
"unixpkgs": "unixpkgs"
|
||||||
}
|
}
|
||||||
|
@ -697,32 +634,30 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"base16": "base16",
|
"base16": "base16",
|
||||||
"base16-fish": "base16-fish",
|
"base16-fish": "base16-fish",
|
||||||
|
"base16-foot": "base16-foot",
|
||||||
"base16-helix": "base16-helix",
|
"base16-helix": "base16-helix",
|
||||||
|
"base16-kitty": "base16-kitty",
|
||||||
|
"base16-tmux": "base16-tmux",
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_3",
|
||||||
"flake-utils": "flake-utils_3",
|
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_3",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"systems": "systems_3",
|
|
||||||
"tinted-foot": "tinted-foot",
|
|
||||||
"tinted-kitty": "tinted-kitty",
|
|
||||||
"tinted-tmux": "tinted-tmux"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732993760,
|
"lastModified": 1718122552,
|
||||||
"narHash": "sha256-t1J6wgzGjvvGNfdd0ei8HnZf9sTw+SpvCNAX0i6Qgwc=",
|
"narHash": "sha256-A+dBkSwp8ssHKV/WyXb9uqIYrHBqHvtSedU24Lq9lqw=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "d13ffb381c83b6139b9d67feff7addf18f8408fe",
|
"rev": "e59d2c1725b237c362e4a62f5722f5b268d566c7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
|
"ref": "release-24.05",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "d13ffb381c83b6139b9d67feff7addf18f8408fe",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -741,86 +676,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-foot": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726913040,
|
|
||||||
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-foot",
|
|
||||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-foot",
|
|
||||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-kitty": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1716423189,
|
|
||||||
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-kitty",
|
|
||||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-kitty",
|
|
||||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-tmux": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729501581,
|
|
||||||
"narHash": "sha256-1ohEFMC23elnl39kxWnjzH1l2DFWWx4DhFNNYDTYt54=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-tmux",
|
|
||||||
"rev": "f0e7f7974a6441033eb0a172a0342e96722b4f14",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-tmux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -829,11 +684,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732894027,
|
"lastModified": 1729613947,
|
||||||
"narHash": "sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII+oAc=",
|
"narHash": "sha256-XGOvuIPW1XRfPgHtGYXd5MAmJzZtOuwlfKDgxX5KT3s=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "6209c381904cab55796c5d7350e89681d3b2a8ef",
|
"rev": "aac86347fb5063960eccb19493e0cadcdb4205ca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -844,11 +699,11 @@
|
||||||
},
|
},
|
||||||
"unixpkgs": {
|
"unixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733173776,
|
"lastModified": 1730298926,
|
||||||
"narHash": "sha256-Ike5NZMsPWm2rfDBTxPqqHWjmDQ3tx3NzE+O0L1ITb8=",
|
"narHash": "sha256-ao1BYrrOB8SGdvOul6hGJYqp/QqEJTwZRViRXFvNnTQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0c492272828b2377428128d8e2c582cabfe42be1",
|
"rev": "838f2f70e0e44d957009bf5a4fc0aa9c931b680e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
24
flake.nix
24
flake.nix
|
@ -3,10 +3,8 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# Packages
|
# Packages
|
||||||
nixpkgs.url = "nixpkgs/nixos-24.11";
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||||
onixpkgs.url = "nixpkgs/64b80bfb316b57cdb8919a9110ef63393d74382a";
|
|
||||||
unixpkgs.url = "nixpkgs/master";
|
unixpkgs.url = "nixpkgs/master";
|
||||||
labellenixpkgs.url = "github:FabianRig/nixpkgs/update-labelle-1.3.2"; # Current 24.11 version doesn't match dependencies
|
|
||||||
# OS
|
# OS
|
||||||
disko = {
|
disko = {
|
||||||
url = "disko";
|
url = "disko";
|
||||||
|
@ -15,21 +13,21 @@
|
||||||
nixos-hardware.url = "nixos-hardware";
|
nixos-hardware.url = "nixos-hardware";
|
||||||
# NOD
|
# NOD
|
||||||
nix-on-droid = {
|
nix-on-droid = {
|
||||||
url = "github:nix-community/nix-on-droid"; # No 24.11 yet
|
url = "github:nix-community/nix-on-droid"; # No 24.05 yet
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.home-manager.follows = "home-manager";
|
inputs.home-manager.follows = "home-manager";
|
||||||
};
|
};
|
||||||
# HM
|
# HM
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "home-manager/release-24.11";
|
url = "home-manager/release-24.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
url = "github:danth/stylix/d13ffb381c83b6139b9d67feff7addf18f8408fe"; # No 24.11 yet
|
url = "github:danth/stylix/release-24.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = "github:nix-community/nixvim/nixos-24.11";
|
url = "github:nix-community/nixvim/nixos-24.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nur.url = "github:nix-community/NUR";
|
nur.url = "github:nix-community/NUR";
|
||||||
|
@ -78,15 +76,9 @@
|
||||||
};
|
};
|
||||||
flakeTools = { self }: flake-utils.lib.eachDefaultSystem (system:
|
flakeTools = { self }: flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs
|
pkgs = import nixpkgs (nixpkgsConfig // {
|
||||||
(nixpkgsConfig // {
|
inherit system;
|
||||||
inherit system;
|
});
|
||||||
# We do an overlay here so nixos-rebuild and other use lix.
|
|
||||||
# We don't do an overlay for the whole system because lix is not binary compatible.
|
|
||||||
overlays = [
|
|
||||||
(self: super: { nix = super.lix; })
|
|
||||||
];
|
|
||||||
});
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
apps = {
|
apps = {
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ pkgs, config, lib, labellenixpkgs, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
let
|
|
||||||
labellepkgs = import labellenixpkgs { inherit (pkgs) system; };
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
frogeye.hooks.lock = ''
|
frogeye.hooks.lock = ''
|
||||||
${pkgs.coreutils}/bin/rm -rf "/tmp/cached_pass_$UID"
|
${pkgs.coreutils}/bin/rm -rf "/tmp/cached_pass_$UID"
|
||||||
|
@ -194,7 +191,7 @@ in
|
||||||
usbutils
|
usbutils
|
||||||
dmidecode
|
dmidecode
|
||||||
lshw
|
lshw
|
||||||
labellepkgs.labelle # Label printer
|
labelle # Label printer
|
||||||
|
|
||||||
# Locker
|
# Locker
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
|
|
|
@ -64,11 +64,11 @@
|
||||||
ansiblels.enable = config.frogeye.dev.ansible; # Ansible
|
ansiblels.enable = config.frogeye.dev.ansible; # Ansible
|
||||||
bashls.enable = true; # Bash
|
bashls.enable = true; # Bash
|
||||||
jsonls.enable = true; # JSON
|
jsonls.enable = true; # JSON
|
||||||
lua_ls.enable = true; # Lua (for Neovim debugging)
|
lua-ls.enable = true; # Lua (for Neovim debugging)
|
||||||
perlpls.enable = config.frogeye.dev.perl; # Perl
|
perlpls.enable = config.frogeye.dev.perl; # Perl
|
||||||
phpactor.enable = config.frogeye.dev.php; # PHP
|
phpactor.enable = config.frogeye.dev.php; # PHP
|
||||||
# Nix
|
# Nix
|
||||||
nil_ls = {
|
nil-ls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
formatting.command = [ "nixpkgs-fmt" ];
|
formatting.command = [ "nixpkgs-fmt" ];
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ pkgs, lib, config, onixpkgs, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
|
||||||
opkgs = import onixpkgs { inherit (pkgs) system; };
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.frogeye.extra {
|
config = lib.mkIf config.frogeye.extra {
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -24,7 +21,7 @@ in
|
||||||
|
|
||||||
# Communication
|
# Communication
|
||||||
signal-desktop
|
signal-desktop
|
||||||
(opkgs.callPackage ./whisperx.nix { }) # Transcribe voice messages
|
(pkgs.callPackage ./whisperx.nix {}) # Transcribe voice messages
|
||||||
|
|
||||||
# downloading
|
# downloading
|
||||||
# transmission TODO Collision if both transmissions are active?
|
# transmission TODO Collision if both transmissions are active?
|
||||||
|
@ -54,8 +51,8 @@ in
|
||||||
krita
|
krita
|
||||||
|
|
||||||
# downloading
|
# downloading
|
||||||
transmission_4-qt
|
transmission-qt
|
||||||
# wine only makes sense on x86_64
|
# wine only makes sense on x86_64
|
||||||
] ++ lib.optionals pkgs.stdenv.isx86_64 [
|
] ++ lib.optionals pkgs.stdenv.isx86_64 [
|
||||||
wine
|
wine
|
||||||
# TODO wine-gecko wine-mono lib32-libpulse (?)
|
# TODO wine-gecko wine-mono lib32-libpulse (?)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, unixpkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.programs.git;
|
cfg = config.programs.git;
|
||||||
in
|
in
|
||||||
|
@ -82,6 +82,9 @@ in
|
||||||
};
|
};
|
||||||
jujutsu = {
|
jujutsu = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = (import unixpkgs {
|
||||||
|
inherit (pkgs) system;
|
||||||
|
}).jujutsu;
|
||||||
# Current version doesn't have the "none" signing backend
|
# Current version doesn't have the "none" signing backend
|
||||||
settings = {
|
settings = {
|
||||||
git = {
|
git = {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#! nix-shell -p python3 python3Packages.coloredlogs r128gain
|
#! nix-shell -p python3 python3Packages.coloredlogs r128gain
|
||||||
|
|
||||||
# TODO r128gain is not maintainted anymore
|
# TODO r128gain is not maintainted anymore
|
||||||
# rsgain replaces it, does the same job as I do with albums
|
# 24.05 rsgain replaces it, does the same job as I do with albums
|
||||||
|
|
||||||
# Normalisation is done at the default of each program,
|
# Normalisation is done at the default of each program,
|
||||||
# which is usually -89.0 dB
|
# which is usually -89.0 dB
|
||||||
|
|
|
@ -53,20 +53,19 @@ in
|
||||||
# Catches attention when cursor changed position
|
# Catches attention when cursor changed position
|
||||||
specs = {
|
specs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
min_jump = 5;
|
||||||
min_jump = 5;
|
fader = { builtin = "pulse_fader"; };
|
||||||
popup.fader = "require('specs').pulse_fader";
|
resizer = { builtin = "shrink_resizer"; };
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Treesitter
|
# Treesitter
|
||||||
treesitter = {
|
treesitter = {
|
||||||
# Allows for better syntax highlighting
|
# Allows for better syntax highlighting
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
incrementalSelection = {
|
||||||
incremental_selection.enable = true;
|
enable = true;
|
||||||
# indent = true; # Not very working last time I tried apparently
|
|
||||||
};
|
};
|
||||||
|
# indent = true; # Not very working last time I tried apparently
|
||||||
};
|
};
|
||||||
indent-blankline.enable = true; # Show indent guides
|
indent-blankline.enable = true; # Show indent guides
|
||||||
rainbow-delimiters.enable = true; # Randomly colore paired brackets
|
rainbow-delimiters.enable = true; # Randomly colore paired brackets
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ pkgs, lib, config, nixvimLib, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
|
||||||
nv = nixvimLib.nixvim;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -54,94 +51,100 @@ in
|
||||||
normal_ina = { fg = base02; bg = base01; };
|
normal_ina = { fg = base02; bg = base01; };
|
||||||
inverted_ina = { fg = base00; bg = base02; };
|
inverted_ina = { fg = base00; bg = base02; };
|
||||||
in
|
in
|
||||||
{
|
rec {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
inactiveSections = sections;
|
||||||
inactive_sections = sections;
|
sections = {
|
||||||
sections = {
|
lualine_a = [{
|
||||||
lualine_a = [
|
name = ''string.format('%d', vim.fn.line('$'))'';
|
||||||
(nv.listToUnkeyedAttrs [ "string.format('%d', vim.fn.line('$'))" ])
|
}];
|
||||||
];
|
lualine_b = [
|
||||||
lualine_b = [ "mode" ];
|
"mode"
|
||||||
lualine_c = [
|
];
|
||||||
((nv.listToUnkeyedAttrs [ "filename" ]) // {
|
lualine_c = [{
|
||||||
color = nv.mkRaw ''
|
name = "filename";
|
||||||
function(section)
|
color = {
|
||||||
return { fg = vim.bo.modified and '${base08}' or '${normal.fg}' }
|
__raw = ''
|
||||||
end
|
function(section)
|
||||||
'';
|
return { fg = vim.bo.modified and '${base08}' or '${normal.fg}' }
|
||||||
path = 1; # Relative path
|
end
|
||||||
symbols = {
|
'';
|
||||||
modified = "●";
|
};
|
||||||
newfile = "";
|
extraConfig = {
|
||||||
readonly = "";
|
path = 1; # Relative path
|
||||||
unnamed = "";
|
symbols = {
|
||||||
};
|
modified = "●";
|
||||||
})
|
newfile = "";
|
||||||
"location"
|
readonly = "";
|
||||||
];
|
unnamed = "";
|
||||||
lualine_x = [
|
};
|
||||||
((nv.listToUnkeyedAttrs [ ''(next(vim.lsp.buf_get_clients()) == nil) and " " or ""'' ]) // {
|
};
|
||||||
separator = { left = ""; right = ""; };
|
}
|
||||||
})
|
"location"];
|
||||||
] ++ (lib.mapAttrsToList
|
lualine_x = [{
|
||||||
(diag_name: diag_color: ((nv.listToUnkeyedAttrs [ "diagnostics" ]) // {
|
name = ''(next(vim.lsp.buf_get_clients()) == nil) and " " or ""'';
|
||||||
|
extraConfig.separator = { left = ""; right = ""; };
|
||||||
|
}] ++ (lib.mapAttrsToList
|
||||||
|
(diag_name: diag_color: {
|
||||||
|
name = "diagnostics";
|
||||||
|
extraConfig = {
|
||||||
color.bg = diag_color;
|
color.bg = diag_color;
|
||||||
colored = false;
|
colored = false;
|
||||||
separator = { left = ""; right = ""; };
|
separator = { left = ""; right = ""; };
|
||||||
sections = [ diag_name ];
|
sections = [ diag_name ];
|
||||||
}))
|
};
|
||||||
{
|
|
||||||
error = base08;
|
|
||||||
warn = base0A;
|
|
||||||
hint = base0C;
|
|
||||||
info = base0B;
|
|
||||||
});
|
|
||||||
lualine_y = [
|
|
||||||
((nv.listToUnkeyedAttrs [ "diff" ]) // {
|
|
||||||
diff_color = {
|
|
||||||
added.fg = base0B;
|
|
||||||
modified.fg = base0A;
|
|
||||||
removed.fg = base08;
|
|
||||||
};
|
|
||||||
symbols = {
|
|
||||||
added = " ";
|
|
||||||
modified = " ";
|
|
||||||
removed = " ";
|
|
||||||
};
|
|
||||||
})
|
|
||||||
"branch"
|
|
||||||
];
|
|
||||||
lualine_z = [
|
|
||||||
"filetype"
|
|
||||||
"fileformat"
|
|
||||||
"encoding"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
options.theme = (lib.mapAttrs
|
|
||||||
(mode_name: mode_color: {
|
|
||||||
a = inverted;
|
|
||||||
b = inverted // { bg = mode_color; gui = "bold"; };
|
|
||||||
c = normal;
|
|
||||||
x = inverted;
|
|
||||||
y = normal;
|
|
||||||
z = inverted // { bg = mode_color; };
|
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
normal = base0D;
|
error = base08;
|
||||||
insert = base0B;
|
warn = base0A;
|
||||||
visual = base0F;
|
hint = base0C;
|
||||||
replace = base08;
|
info = base0B;
|
||||||
command = base0E;
|
});
|
||||||
}) // {
|
lualine_y = [{
|
||||||
inactive = {
|
name = "diff";
|
||||||
a = inverted_ina;
|
extraConfig = {
|
||||||
b = normal_ina // { bg = base00; gui = "bold"; };
|
diff_color = {
|
||||||
c = normal_ina;
|
added.fg = base0B;
|
||||||
x = inverted_ina;
|
modified.fg = base0A;
|
||||||
y = normal_ina;
|
removed.fg = base08;
|
||||||
z = normal_ina // { bg = base00; };
|
};
|
||||||
|
symbols = {
|
||||||
|
added = " ";
|
||||||
|
modified = " ";
|
||||||
|
removed = " ";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
"branch"];
|
||||||
|
lualine_z = [
|
||||||
|
"filetype"
|
||||||
|
"fileformat"
|
||||||
|
"encoding"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
theme = (lib.mapAttrs
|
||||||
|
(mode_name: mode_color: {
|
||||||
|
a = inverted;
|
||||||
|
b = inverted // { bg = mode_color; gui = "bold"; };
|
||||||
|
c = normal;
|
||||||
|
x = inverted;
|
||||||
|
y = normal;
|
||||||
|
z = inverted // { bg = mode_color; };
|
||||||
|
})
|
||||||
|
{
|
||||||
|
normal = base0D;
|
||||||
|
insert = base0B;
|
||||||
|
visual = base0F;
|
||||||
|
replace = base08;
|
||||||
|
command = base0E;
|
||||||
|
}) // {
|
||||||
|
inactive = {
|
||||||
|
a = inverted_ina;
|
||||||
|
b = normal_ina // { bg = base00; gui = "bold"; };
|
||||||
|
c = normal_ina;
|
||||||
|
x = inverted_ina;
|
||||||
|
y = normal_ina;
|
||||||
|
z = normal_ina // { bg = base00; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -150,7 +153,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.max_lines = 5;
|
settings.max_lines = 5;
|
||||||
};
|
};
|
||||||
web-devicons.enable = true; # TODO Check out plugins.mini.enable
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
# Or at least something to live_grep the curent word.
|
# Or at least something to live_grep the curent word.
|
||||||
|
|
||||||
# Surrounding pairs
|
# Surrounding pairs
|
||||||
vim-surround.enable = true; # Change surrounding pairs (e.g. brackets, quotes)
|
surround.enable = true; # Change surrounding pairs (e.g. brackets, quotes)
|
||||||
|
|
||||||
undotree.enable = true; # Navigate edition history
|
undotree.enable = true; # Navigate edition history
|
||||||
|
|
||||||
|
@ -110,7 +110,8 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
userCommands = {
|
userCommands = {
|
||||||
Reload = { command = "source ${config.xdg.configHome}/nvim/init.lua"; };
|
Reload = { command = "source ${config.xdg.configHome}/nvim/init.lua"; force = false; };
|
||||||
|
# 24.05 force=false was for https://github.com/nix-community/nixvim/issues/954
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
ctranslate2 = (pkgs_uf.ctranslate2.override {
|
ctranslate2 = (pkgs_uf.ctranslate2.override {
|
||||||
withCUDA = true;
|
withCUDA = true;
|
||||||
withCuDNN = true;
|
withCuDNN = true;
|
||||||
|
stdenv = pkgs.gcc12Stdenv; # 24.11 Remove, as nvcc and gcc versions align again
|
||||||
|
# Takes more than 16 GiB RAM to compile with the above, but fine if not
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
config = lib.mkIf config.frogeye.gaming
|
config = lib.mkIf config.frogeye.gaming
|
||||||
{
|
{
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
hardware.graphics.enable32Bit = true; # Needed by Steam
|
hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses
|
||||||
services = {
|
services = {
|
||||||
udev.packages = [ pkgs.python3Packages.ds4drv ];
|
udev.packages = [ pkgs.python3Packages.ds4drv ];
|
||||||
xserver.config = ''
|
xserver.config = ''
|
||||||
|
|
Loading…
Reference in a new issue