This commit is contained in:
krizej 2024-07-04 01:25:55 +02:00
parent 45c8088b8d
commit c456de0856
8 changed files with 20 additions and 19 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea/

View file

@ -2,12 +2,15 @@
description = ":-)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
};
outputs = { nixpkgs, home-manager, nur, ... }: {
nixosConfigurations = {
"krizej-pc" = nixpkgs.lib.nixosSystem {

View file

@ -17,6 +17,7 @@
"MANSECT" = "2:3:3p:3type:1:1p:n:l:8:0:0p:5:4:9:6:7";
};
environment.systemPackages = with pkgs; [
man
man-pages
man-pages-posix
];

View file

@ -28,7 +28,7 @@
users.users.krizej = {
isNormalUser = true;
extraGroups = ["wheel" "input"];
extraGroups = [ "wheel" "input" ];
};
home-manager = {
useGlobalPkgs = true;

View file

@ -4,10 +4,7 @@
enable = true;
settings = {
font.size = 10;
window.padding = {
x = 2;
y = 2;
};
window.padding = { x = 2; y = 2; };
cursor = {
style = {
shape = "Beam";

View file

@ -20,7 +20,6 @@
environment.systemPackages = with pkgs; [
ed # is the standard text editor.
ripgrep
eza
file
tree
btop

View file

@ -47,11 +47,11 @@
force = true;
engines = {
"envs.net - SearXNG" = {
urls = [{template = "https://searx.envs.net/searxng/search?q={searchTerms}";}];
urls = [ { template = "https://searx.envs.net/searxng/search?q={searchTerms}"; } ];
icon = "https://envs.net/favicon.ico";
iconUpdateURL = "https://envs.net/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = ["@sx"];
definedAliases = [ "@sx" ];
};
# searx sometimes sucks
@ -60,28 +60,28 @@
"Wikipedia (en)".metaData.alias = "@w";
"Nix Packages" = {
urls = [{template = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";}];
urls = [ { template = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}"; } ];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
definedAliases = [ "@np" ];
};
"Nix Options" = {
urls = [{template = "https://search.nixos.org/options?channel=unstable&query={searchTerms}";}];
urls = [ { template = "https://search.nixos.org/options?channel=unstable&query={searchTerms}"; } ];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@no"];
definedAliases = [ "@no" ];
};
"Home Manger" = {
urls = [{template = "https://home-manager-options.extranix.com/?release=master&query={searchTerms}";}];
urls = [ { template = "https://home-manager-options.extranix.com/?release=master&query={searchTerms}"; } ];
icon = "https://home-manager-options.extranix.com/images/favicon.png";
iconUpdateURL = "https://home-manager-options.extranix.com/images/favicon.png";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = ["@hm"];
definedAliases = [ "@hm" ];
};
"Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
urls = [ { template = "https://wiki.archlinux.org/index.php?search={searchTerms}"; } ];
icon = "https://wiki.archlinux.org/favicon.ico";
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = ["@aw"];
definedAliases = [ "@aw" ];
};
# the rest can fuck off

View file

@ -17,9 +17,9 @@
vimCache = "~/.cache/vim";
in {
background = "dark";
backupdir = ["${vimCache}/backup/"];
backupdir = [ "${vimCache}/backup/" ];
copyindent = false;
directory = ["~/.cache/vim/swap/"];
directory = [ "~/.cache/vim/swap/" ];
expandtab = true;
hidden = false;
history = 420;
@ -34,7 +34,7 @@
shiftwidth = 4;
smartcase = false;
tabstop = 4;
undodir = ["~/.cache/vim/undo/"];
undodir = [ "~/.cache/vim/undo/" ];
undofile = false;
};
extraConfig = ''