Compare commits

...

7 Commits

Author SHA1 Message Date
75513abbf7 Upgrade. 2024-09-16 12:48:12 +01:00
53d2fd4bdf Upgrade. 2024-09-16 12:48:02 +01:00
dc5f7350f3 Set up nix-index-database. 2024-09-16 12:21:22 +01:00
0b25c21472 Enable nix plugin for neovim. 2024-09-16 12:15:41 +01:00
268ca5ce4f Update deps. 2024-09-16 12:14:02 +01:00
ecd1235339 Set the actual less options for systemd instead of overriding pager. 2024-09-16 12:07:58 +01:00
877f82dbc1 Set SYSTEMD_PAGER to inherit the less options. 2024-09-16 12:00:20 +01:00
6 changed files with 57 additions and 23 deletions

63
flake.lock generated
View File

@@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1726219040,
"narHash": "sha256-u/2xSCp/7sE7XViv6QR2jMw7Rrx/PXJtmeVLYv+Qbpo=",
"lastModified": 1726396892,
"narHash": "sha256-KRGuT5nGRAOT3heigRWg41tbYpTpapGhsWc+XjnIx0w=",
"owner": "nix-community",
"repo": "disko",
"rev": "4ef99d8ec41369b6fbe83479b5566c2b8856972c",
"rev": "51e3a7e51279fedfb6669a00d21dc5936c78a6ce",
"type": "github"
},
"original": {
@@ -101,11 +101,11 @@
]
},
"locked": {
"lastModified": 1725234343,
"narHash": "sha256-+ebgonl3NbiKD2UD0x4BszCZQ6sTfL4xioaM49o5B3Y=",
"lastModified": 1726153070,
"narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "567b938d64d4b4112ee253b9274472dc3a346eb6",
"rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"type": "github"
},
"original": {
@@ -228,11 +228,11 @@
]
},
"locked": {
"lastModified": 1726032244,
"narHash": "sha256-3VvRGPkpBJobQrFD3slQzMAwZlo4/UwxT8933U5tRVM=",
"lastModified": 1726188813,
"narHash": "sha256-Vop/VRi6uCiScg/Ic+YlwsdIrLabWUJc57dNczp0eBc=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "f4f18f3d7229845e1c9d517457b7a0b90a38b728",
"rev": "21fe31f26473c180390cfa81e3ea81aca0204c80",
"type": "github"
},
"original": {
@@ -241,13 +241,33 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1726449931,
"narHash": "sha256-1AX7MyYzP7sNgZiGF8jwehCCI75y2kBGwACeryJs+yE=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "c1b0fa0bec5478185eae2fd3f39b9e906fc83995",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1725930920,
"narHash": "sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM=",
"lastModified": 1726320982,
"narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "44a71ff39c182edaf25a7ace5c9454e7cba2c658",
"rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49",
"type": "github"
},
"original": {
@@ -259,11 +279,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1726062873,
"narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=",
"lastModified": 1726243404,
"narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f",
"rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059",
"type": "github"
},
"original": {
@@ -290,11 +310,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1726281510,
"narHash": "sha256-KJkzmVHjZsDyE5rE/4kwzkBWn3Sb4F/O5DRUXmEldpk=",
"lastModified": 1726441328,
"narHash": "sha256-WGZuGGjWq4Rac3MwdnXaojvTOMo2HjqXEWughqCYMAk=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "8fd162d9513b0d1acc8ce58848febf2dbe2e7733",
"rev": "95b322a5220744a5cac725e62fa4e612851edbc2",
"type": "github"
},
"original": {
@@ -312,11 +332,11 @@
]
},
"locked": {
"lastModified": 1725953301,
"narHash": "sha256-4DDSCLE4+5mT7HEt7OqBWVBKpY5d+jRPmaobHzEoSas=",
"lastModified": 1726392886,
"narHash": "sha256-9RtOuG7V8KG8IU8nZje5EQ1WSM/inr7+zb3tAgTiHDM=",
"owner": "NuschtOS",
"repo": "search",
"rev": "9eaa0246f803758c26f00d21188de00098b79c8b",
"rev": "97d34b70deed4878fcb2449ac89dab717d72efa1",
"type": "github"
},
"original": {
@@ -331,6 +351,7 @@
"disko": "disko",
"home-manager": "home-manager",
"impermanence": "impermanence",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim"

View File

@@ -13,6 +13,10 @@
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs-unstable";
@@ -55,6 +59,7 @@
users.ppetru = {
imports = [
(inputs.impermanence + "/home-manager.nix")
inputs.nix-index-database.hmModules.nix-index
inputs.nixvim.homeManagerModules.nixvim
./home
];

View File

@@ -10,6 +10,7 @@
MOSH_SERVER_NETWORK_TMOUT = 604800;
NOMAD_ADDR = "http://nomad.service.consul:4646";
LESS = "-F -i -M -+S -R -w -X -z-4";
SYSTEMD_LESS = "FiM+SRwXz-4";
};
shellAliases = {
@@ -18,6 +19,7 @@
persistence."/persist/home/ppetru" = {
directories = [
".cache/nix-index"
".local/share/fish"
".ssh"
"projects"

View File

@@ -35,6 +35,8 @@
less.enable = true;
nix-index-database.comma.enable = true;
nixvim = {
enable = true;
@@ -49,6 +51,10 @@
expandtab = true;
shiftround = true;
};
plugins = {
nix.enable = true;
};
};
tmux = {

View File

@@ -16,7 +16,7 @@ job "clickhouse" {
driver = "docker"
config {
image = "clickhouse/clickhouse-server:23.8-alpine"
image = "clickhouse/clickhouse-server:24.8-alpine"
volumes = [
"/data/compute/appdata/clickhouse:/var/lib/clickhouse",
"local/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro",

View File

@@ -23,7 +23,7 @@ job "prometheus" {
driver = "docker"
config {
image = "prom/prometheus:v2.52.0"
image = "prom/prometheus:v2.54.1"
network_mode = "host"
args = [
"--storage.tsdb.path", "/opt/prometheus",