changes
This commit is contained in:
parent
45c8088b8d
commit
c456de0856
8 changed files with 20 additions and 19 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.idea/
|
|
@ -2,12 +2,15 @@
|
||||||
description = ":-)";
|
description = ":-)";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nur.url = "github:nix-community/NUR";
|
nur.url = "github:nix-community/NUR";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, nur, ... }: {
|
outputs = { nixpkgs, home-manager, nur, ... }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
"krizej-pc" = nixpkgs.lib.nixosSystem {
|
"krizej-pc" = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"MANSECT" = "2:3:3p:3type:1:1p:n:l:8:0:0p:5:4:9:6:7";
|
"MANSECT" = "2:3:3p:3type:1:1p:n:l:8:0:0p:5:4:9:6:7";
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
man
|
||||||
man-pages
|
man-pages
|
||||||
man-pages-posix
|
man-pages-posix
|
||||||
];
|
];
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
users.users.krizej = {
|
users.users.krizej = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel" "input"];
|
extraGroups = [ "wheel" "input" ];
|
||||||
};
|
};
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
|
@ -4,10 +4,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
font.size = 10;
|
font.size = 10;
|
||||||
window.padding = {
|
window.padding = { x = 2; y = 2; };
|
||||||
x = 2;
|
|
||||||
y = 2;
|
|
||||||
};
|
|
||||||
cursor = {
|
cursor = {
|
||||||
style = {
|
style = {
|
||||||
shape = "Beam";
|
shape = "Beam";
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ed # is the standard text editor.
|
ed # is the standard text editor.
|
||||||
ripgrep
|
ripgrep
|
||||||
eza
|
|
||||||
file
|
file
|
||||||
tree
|
tree
|
||||||
btop
|
btop
|
||||||
|
|
|
@ -47,11 +47,11 @@
|
||||||
force = true;
|
force = true;
|
||||||
engines = {
|
engines = {
|
||||||
"envs.net - SearXNG" = {
|
"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";
|
icon = "https://envs.net/favicon.ico";
|
||||||
iconUpdateURL = "https://envs.net/favicon.ico";
|
iconUpdateURL = "https://envs.net/favicon.ico";
|
||||||
updateInterval = 24 * 60 * 60 * 1000;
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
definedAliases = ["@sx"];
|
definedAliases = [ "@sx" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# searx sometimes sucks
|
# searx sometimes sucks
|
||||||
|
@ -60,28 +60,28 @@
|
||||||
"Wikipedia (en)".metaData.alias = "@w";
|
"Wikipedia (en)".metaData.alias = "@w";
|
||||||
|
|
||||||
"Nix Packages" = {
|
"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";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = ["@np"];
|
definedAliases = [ "@np" ];
|
||||||
};
|
};
|
||||||
"Nix Options" = {
|
"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";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = ["@no"];
|
definedAliases = [ "@no" ];
|
||||||
};
|
};
|
||||||
"Home Manger" = {
|
"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";
|
icon = "https://home-manager-options.extranix.com/images/favicon.png";
|
||||||
iconUpdateURL = "https://home-manager-options.extranix.com/images/favicon.png";
|
iconUpdateURL = "https://home-manager-options.extranix.com/images/favicon.png";
|
||||||
updateInterval = 24 * 60 * 60 * 1000;
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
definedAliases = ["@hm"];
|
definedAliases = [ "@hm" ];
|
||||||
};
|
};
|
||||||
"Arch Wiki" = {
|
"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";
|
icon = "https://wiki.archlinux.org/favicon.ico";
|
||||||
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
|
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
|
||||||
updateInterval = 24 * 60 * 60 * 1000;
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
definedAliases = ["@aw"];
|
definedAliases = [ "@aw" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# the rest can fuck off
|
# the rest can fuck off
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
vimCache = "~/.cache/vim";
|
vimCache = "~/.cache/vim";
|
||||||
in {
|
in {
|
||||||
background = "dark";
|
background = "dark";
|
||||||
backupdir = ["${vimCache}/backup/"];
|
backupdir = [ "${vimCache}/backup/" ];
|
||||||
copyindent = false;
|
copyindent = false;
|
||||||
directory = ["~/.cache/vim/swap/"];
|
directory = [ "~/.cache/vim/swap/" ];
|
||||||
expandtab = true;
|
expandtab = true;
|
||||||
hidden = false;
|
hidden = false;
|
||||||
history = 420;
|
history = 420;
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
shiftwidth = 4;
|
shiftwidth = 4;
|
||||||
smartcase = false;
|
smartcase = false;
|
||||||
tabstop = 4;
|
tabstop = 4;
|
||||||
undodir = ["~/.cache/vim/undo/"];
|
undodir = [ "~/.cache/vim/undo/" ];
|
||||||
undofile = false;
|
undofile = false;
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue