Modified nvim setup a bit + installed game apps (steam, lutris, etc)
This commit is contained in:
parent
ed7dbca71c
commit
b24d90dfbd
|
@ -3,7 +3,7 @@
|
||||||
"abbreinder.nvim": { "branch": "main", "commit": "5b2b5ff08a9ada42238d733aeebc6d3d96314d77" },
|
"abbreinder.nvim": { "branch": "main", "commit": "5b2b5ff08a9ada42238d733aeebc6d3d96314d77" },
|
||||||
"abbremand.nvim": { "branch": "main", "commit": "d633341f632b0b2666dfc6dfe6b9842ba1610a1d" },
|
"abbremand.nvim": { "branch": "main", "commit": "d633341f632b0b2666dfc6dfe6b9842ba1610a1d" },
|
||||||
"catppuccin": { "branch": "main", "commit": "6eb93f7240476ac51cec909fe0016e9a269c2a92" },
|
"catppuccin": { "branch": "main", "commit": "6eb93f7240476ac51cec909fe0016e9a269c2a92" },
|
||||||
"clipboard-image.nvim": { "branch": "main", "commit": "d1550dc26729b7954f95269952e90471b838fa25" },
|
"clipboard-image.nvim": { "branch": "main", "commit": "3d10d535cb3bf300fb8e74d886840edb81a63bd4" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-cmdline": { "branch": "main", "commit": "af88e700417c6449719fc77f6f3745f88e42d5da" },
|
"cmp-cmdline": { "branch": "main", "commit": "af88e700417c6449719fc77f6f3745f88e42d5da" },
|
||||||
"cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" },
|
"cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" },
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
"dressing.nvim": { "branch": "master", "commit": "0e3e1eba147fee6e638ac1ac28f0495bcde17319" },
|
"dressing.nvim": { "branch": "master", "commit": "0e3e1eba147fee6e638ac1ac28f0495bcde17319" },
|
||||||
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
|
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
|
||||||
"firenvim": { "branch": "master", "commit": "ee4ef314bd990b2b05b7fbd95b857159e444a2fe" },
|
"firenvim": { "branch": "master", "commit": "ee4ef314bd990b2b05b7fbd95b857159e444a2fe" },
|
||||||
|
"github-actions-yaml.vim": { "branch": "master", "commit": "f2f16243447cea174daa6b4a9ffd3ff9213814ef" },
|
||||||
"gitlinker.nvim": { "branch": "master", "commit": "cc59f732f3d043b626c8702cb725c82e54d35c25" },
|
"gitlinker.nvim": { "branch": "master", "commit": "cc59f732f3d043b626c8702cb725c82e54d35c25" },
|
||||||
"glow.nvim": { "branch": "main", "commit": "a3f24fdaa71d2c25a2b88026032b34f5b6a6e215" },
|
"glow.nvim": { "branch": "main", "commit": "a3f24fdaa71d2c25a2b88026032b34f5b6a6e215" },
|
||||||
"harpoon": { "branch": "master", "commit": "f7040fd0c44e7a4010369136547de5604b9c22a1" },
|
"harpoon": { "branch": "master", "commit": "f7040fd0c44e7a4010369136547de5604b9c22a1" },
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
"knap": { "branch": "main", "commit": "8c083d333b8a82421a521539eb1c450b06c90eb6" },
|
"knap": { "branch": "main", "commit": "8c083d333b8a82421a521539eb1c450b06c90eb6" },
|
||||||
"kotlin-vim": { "branch": "master", "commit": "53fe045906df8eeb07cb77b078fc93acda6c90b8" },
|
"kotlin-vim": { "branch": "master", "commit": "53fe045906df8eeb07cb77b078fc93acda6c90b8" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "5c89dc52f42e5058a46b0912d7d9042f564e44e0" },
|
"lazy.nvim": { "branch": "main", "commit": "5c89dc52f42e5058a46b0912d7d9042f564e44e0" },
|
||||||
|
"lean.nvim": { "branch": "main", "commit": "157ca8a08ad13845cf67b440a595b55b25b9a459" },
|
||||||
"leap": { "branch": "main", "commit": "0eb3611593e135150e2f7880ec67568ccb51c17a" },
|
"leap": { "branch": "main", "commit": "0eb3611593e135150e2f7880ec67568ccb51c17a" },
|
||||||
"live-command.nvim": { "branch": "main", "commit": "ce4b104ce702c7bb9fdff863059af6d47107ca61" },
|
"live-command.nvim": { "branch": "main", "commit": "ce4b104ce702c7bb9fdff863059af6d47107ca61" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" },
|
"lspkind.nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" },
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
-- TODO(imperanence): handle persistence
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
local M = {
|
local M = {
|
||||||
-- paste images from clipbaord
|
"postfen/clipboard-image.nvim",
|
||||||
"ekickx/clipboard-image.nvim",
|
|
||||||
cmd = "PasteImg",
|
cmd = "PasteImg",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,12 @@ return {
|
||||||
ft = "dhall",
|
ft = "dhall",
|
||||||
cond = env.vscode.not_active(),
|
cond = env.vscode.not_active(),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"yasuhiroki/github-actions-yaml.vim",
|
||||||
|
ft = { "yml", "yaml" },
|
||||||
|
cond = env.vscode.not_active(),
|
||||||
|
},
|
||||||
--}}}
|
--}}}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@ local env = require("my.helpers.env")
|
||||||
|
|
||||||
local M = {
|
local M = {
|
||||||
"goerz/jupytext.vim",
|
"goerz/jupytext.vim",
|
||||||
lazy = false, -- Otherwise I can't get this to work with nvim *.ipynb
|
ft = "ipynb",
|
||||||
cond = env.vscode.not_active(),
|
cond = env.vscode.not_active(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,11 @@ local lspconfig = require("my.plugins.lspconfig")
|
||||||
|
|
||||||
local M = {
|
local M = {
|
||||||
"Julian/lean.nvim", -- lean support
|
"Julian/lean.nvim", -- lean support
|
||||||
dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim", "hrsh7th/nvim-cmp" },
|
dependencies = {
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
},
|
||||||
ft = "lean",
|
ft = "lean",
|
||||||
config = function()
|
config = function()
|
||||||
require("lean").setup({
|
require("lean").setup({
|
||||||
|
@ -19,4 +23,4 @@ local M = {
|
||||||
cond = env.vscode.not_active(),
|
cond = env.vscode.not_active(),
|
||||||
}
|
}
|
||||||
|
|
||||||
return {}
|
return M
|
||||||
|
|
|
@ -159,6 +159,10 @@ local servers = {
|
||||||
forwardSearchAfter = true,
|
forwardSearchAfter = true,
|
||||||
onSave = true,
|
onSave = true,
|
||||||
},
|
},
|
||||||
|
chktex = {
|
||||||
|
onOpenAndSave = true,
|
||||||
|
onEdit = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
"Begin": {
|
"Begin": {
|
||||||
"prefix": "begin",
|
"prefix": "begin",
|
||||||
"description": "Begin anything",
|
"description": "Begin anything",
|
||||||
"body": ["\\begin{$1}", "\t$0", "\\end{$1}"]
|
"body": [
|
||||||
|
"\\begin{$1}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{$1}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Set": {
|
"Set": {
|
||||||
"prefix": "set",
|
"prefix": "set",
|
||||||
|
@ -27,27 +31,47 @@
|
||||||
"Lemma": {
|
"Lemma": {
|
||||||
"prefix": "lemma",
|
"prefix": "lemma",
|
||||||
"description": "Create a lemma",
|
"description": "Create a lemma",
|
||||||
"body": ["\\begin{lemma}[$1] \\label{lem:$1}", "\t$0", "\\end{lemma}"]
|
"body": [
|
||||||
|
"\\begin{lemma}[$1]\\label{lem:$1}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{lemma}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Example*": {
|
"Example*": {
|
||||||
"prefix": "example*",
|
"prefix": "example*",
|
||||||
"description": "Create an example*",
|
"description": "Create an example*",
|
||||||
"body": ["\\begin{example*}", "\t$0", "\\end{example*}"]
|
"body": [
|
||||||
|
"\\begin{example*}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{example*}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Example": {
|
"Example": {
|
||||||
"prefix": "example",
|
"prefix": "example",
|
||||||
"description": "Create an example",
|
"description": "Create an example",
|
||||||
"body": ["\\begin{example}[$1] \\label{exp:$1}", "\t$0", "\\end{example}"]
|
"body": [
|
||||||
|
"\\begin{example}[$1]\\label{exp:$1}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{example}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Theorem": {
|
"Theorem": {
|
||||||
"prefix": "theorem",
|
"prefix": "theorem",
|
||||||
"description": "Create a theorem",
|
"description": "Create a theorem",
|
||||||
"body": ["\\begin{theorem}[$1] \\label{thm:$1}", "\t$0", "\\end{theorem}"]
|
"body": [
|
||||||
|
"\\begin{theorem}[$1]\\label{thm:$1}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{theorem}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Exercise": {
|
"Exercise": {
|
||||||
"prefix": "exercise",
|
"prefix": "exercise",
|
||||||
"description": "Create a exercise",
|
"description": "Create a exercise",
|
||||||
"body": ["\\begin{exercise}[$1] \\label{exe:$1}", "\t$0", "\\end{exercise}"]
|
"body": [
|
||||||
|
"\\begin{exercise}[$1]\\label{exe:$1}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{exercise}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Definition": {
|
"Definition": {
|
||||||
"prefix": "definition",
|
"prefix": "definition",
|
||||||
|
@ -61,7 +85,11 @@
|
||||||
"Display math": {
|
"Display math": {
|
||||||
"prefix": "dm",
|
"prefix": "dm",
|
||||||
"description": "Display math section",
|
"description": "Display math section",
|
||||||
"body": ["\\[", "$0", "\\]"]
|
"body": [
|
||||||
|
"\\[",
|
||||||
|
"$0",
|
||||||
|
"\\]"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Subscript": {
|
"Subscript": {
|
||||||
"prefix": "ss",
|
"prefix": "ss",
|
||||||
|
@ -91,36 +119,60 @@
|
||||||
"Section": {
|
"Section": {
|
||||||
"prefix": "section",
|
"prefix": "section",
|
||||||
"description": "Add section",
|
"description": "Add section",
|
||||||
"body": ["\\section{$1}", "$0"]
|
"body": [
|
||||||
|
"\\section{$1}",
|
||||||
|
"$0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Subsection": {
|
"Subsection": {
|
||||||
"prefix": "subsection",
|
"prefix": "subsection",
|
||||||
"description": "Add subsection",
|
"description": "Add subsection",
|
||||||
"body": ["\\subsection{$1}", "$0"]
|
"body": [
|
||||||
|
"\\subsection{$1}",
|
||||||
|
"$0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Subsubsection": {
|
"Subsubsection": {
|
||||||
"prefix": "subsubsection",
|
"prefix": "subsubsection",
|
||||||
"description": "Add subsubsection",
|
"description": "Add subsubsection",
|
||||||
"body": ["\\subsubsection{$1}", "$0"]
|
"body": [
|
||||||
|
"\\subsubsection{$1}",
|
||||||
|
"$0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Chapter": {
|
"Chapter": {
|
||||||
"prefix": "chapter",
|
"prefix": "chapter",
|
||||||
"description": "Add chapter",
|
"description": "Add chapter",
|
||||||
"body": ["\\chapter{$1}", "$0"]
|
"body": [
|
||||||
|
"\\chapter{$1}",
|
||||||
|
"$0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Proof": {
|
"Proof": {
|
||||||
"prefix": "proof",
|
"prefix": "proof",
|
||||||
"description": "Create proof",
|
"description": "Create proof",
|
||||||
"body": ["\\begin{proof}", "\t$0", "\\end{proof}"]
|
"body": [
|
||||||
|
"\\begin{proof}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{proof}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Itemize": {
|
"Itemize": {
|
||||||
"prefix": "item",
|
"prefix": "item",
|
||||||
"body": ["\\\\begin{itemize}", "\t\\item $0", "\\\\end{itemize}"],
|
"body": [
|
||||||
|
"\\\\begin{itemize}",
|
||||||
|
"\t\\item $0",
|
||||||
|
"\\\\end{itemize}"
|
||||||
|
],
|
||||||
"description": "Itemize env"
|
"description": "Itemize env"
|
||||||
},
|
},
|
||||||
"Enumerate": {
|
"Enumerate": {
|
||||||
"prefix": "enum",
|
"prefix": "enum",
|
||||||
"body": ["\\\\begin{enumerate}", "\t\\item $0", "\\\\end{enumerate}"],
|
"body": [
|
||||||
|
"\\\\begin{enumerate}",
|
||||||
|
"\t\\item $0",
|
||||||
|
"\\\\end{enumerate}"
|
||||||
|
],
|
||||||
"description": "Enumerate env"
|
"description": "Enumerate env"
|
||||||
},
|
},
|
||||||
"Reference definition": {
|
"Reference definition": {
|
||||||
|
@ -201,7 +253,11 @@
|
||||||
"Aligned": {
|
"Aligned": {
|
||||||
"prefix": "aligned",
|
"prefix": "aligned",
|
||||||
"description": "Create an aligned environment",
|
"description": "Create an aligned environment",
|
||||||
"body": ["\\begin{aligned}", "\t$0", "\\end{aligned}"]
|
"body": [
|
||||||
|
"\\begin{aligned}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{aligned}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"Let": {
|
"Let": {
|
||||||
"prefix": "let",
|
"prefix": "let",
|
||||||
|
@ -216,7 +272,11 @@
|
||||||
"Aligned display math": {
|
"Aligned display math": {
|
||||||
"prefix": "maligned",
|
"prefix": "maligned",
|
||||||
"description": "Create an aligned display math environment",
|
"description": "Create an aligned display math environment",
|
||||||
"body": ["\\begin{align*}", "\t$0", "\\end{align*}"]
|
"body": [
|
||||||
|
"\\begin{align*}",
|
||||||
|
"\t$0",
|
||||||
|
"\\end{align*}"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"System of equations": {
|
"System of equations": {
|
||||||
"prefix": "eqsystem",
|
"prefix": "eqsystem",
|
||||||
|
@ -232,7 +292,10 @@
|
||||||
"Aligned equation": {
|
"Aligned equation": {
|
||||||
"prefix": "aleq",
|
"prefix": "aleq",
|
||||||
"description": "Aligned equation",
|
"description": "Aligned equation",
|
||||||
"body": ["\\\\\\ $1 &= $2", "$0"]
|
"body": [
|
||||||
|
"\\\\\\ $1 &= $2",
|
||||||
|
"$0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"2x2 matrices": {
|
"2x2 matrices": {
|
||||||
"prefix": "mat22",
|
"prefix": "mat22",
|
||||||
|
@ -296,5 +359,10 @@
|
||||||
"\\end{enumerate}",
|
"\\end{enumerate}",
|
||||||
"$0"
|
"$0"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"quote": {
|
||||||
|
"prefix": "quote",
|
||||||
|
"description": "Quote a bunch of text",
|
||||||
|
"body": "``$1''$0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# TODO(imperanence): handle persistence
|
||||||
{
|
{
|
||||||
programs.discord = {
|
programs.discord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# TODO(imperanence): handle persistence
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
let
|
let
|
||||||
mkBasicSearchEngine = { aliases, url, param }: {
|
mkBasicSearchEngine = { aliases, url, param }: {
|
||||||
|
|
3
home/adrielus/features/desktop/common/games/default.nix
Normal file
3
home/adrielus/features/desktop/common/games/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
imports = [./wine.nix ./lutris.nix];
|
||||||
|
}
|
12
home/adrielus/features/desktop/common/games/lutris.nix
Normal file
12
home/adrielus/features/desktop/common/games/lutris.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs, config, ... }: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.lutris
|
||||||
|
];
|
||||||
|
|
||||||
|
# home.persistence."/persist".directories = [
|
||||||
|
# "${config.xdg.configHome}/lutris" # General config data
|
||||||
|
# "${config.xdg.cacheHome}/banners" # Game banners
|
||||||
|
# "${config.xdg.cacheHome}/coverart" # Game cover art
|
||||||
|
# "${config.home.homeDirectory}/Games" # Game directory
|
||||||
|
# ];
|
||||||
|
}
|
6
home/adrielus/features/desktop/common/games/wine.nix
Normal file
6
home/adrielus/features/desktop/common/games/wine.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# TODO(imperanence): handle persistence
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.wine
|
||||||
|
];
|
||||||
|
}
|
11
home/adrielus/features/desktop/common/qbittorrent.nix
Normal file
11
home/adrielus/features/desktop/common/qbittorrent.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, config, ... }: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.qbittorrent
|
||||||
|
];
|
||||||
|
|
||||||
|
# home.persistence."/persist".directories = [
|
||||||
|
# "${config.xdg.configHome}/qBittorrent" # Config options
|
||||||
|
# # TODO: investigate which subdirectories/files I actually want to keep
|
||||||
|
# "${config.xdg.dataHome}/qBittorrent" # Torrent files, logs, etc
|
||||||
|
# ];
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
# TODO(imperanence): handle persistence of things like harpoon, lazy, etc
|
||||||
{ pkgs, upkgs, lib, config, paths, inputs, ... }:
|
{ pkgs, upkgs, lib, config, paths, inputs, ... }:
|
||||||
let
|
let
|
||||||
# {{{ extraPackages
|
# {{{ extraPackages
|
||||||
|
@ -57,6 +58,8 @@ let
|
||||||
|
|
||||||
texlive.combined.scheme-full # Latex stuff
|
texlive.combined.scheme-full # Latex stuff
|
||||||
python38Packages.pygments # required for latex syntax highlighting
|
python38Packages.pygments # required for latex syntax highlighting
|
||||||
|
sage
|
||||||
|
sagetex # sage in latex
|
||||||
|
|
||||||
# required for the telescope fzf extension
|
# required for the telescope fzf extension
|
||||||
gnumake
|
gnumake
|
||||||
|
|
|
@ -3,8 +3,10 @@
|
||||||
./global
|
./global
|
||||||
./features/desktop/xmonad.nix
|
./features/desktop/xmonad.nix
|
||||||
./features/desktop/common/discord.nix
|
./features/desktop/common/discord.nix
|
||||||
|
./features/desktop/common/qbittorrent.nix
|
||||||
./features/desktop/common/zathura.nix
|
./features/desktop/common/zathura.nix
|
||||||
./features/desktop/common/firefox.nix
|
./features/desktop/common/firefox.nix
|
||||||
|
./features/desktop/common/games
|
||||||
];
|
];
|
||||||
|
|
||||||
# Arbitrary extra packages
|
# Arbitrary extra packages
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# Not using this for now, because I cannot get any theme to fucking work with it for some reason :(
|
|
||||||
{
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
displayManager.sddm.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
14
hosts/nixos/common/optional/steam.nix
Normal file
14
hosts/nixos/common/optional/steam.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# TODO(imperanence): handle persistence
|
||||||
|
{ lib, ... }: {
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"steam"
|
||||||
|
"steam-original"
|
||||||
|
"steam-runtime"
|
||||||
|
];
|
||||||
|
}
|
|
@ -7,8 +7,9 @@
|
||||||
../common/optional/touchpad.nix
|
../common/optional/touchpad.nix
|
||||||
../common/optional/xserver.nix
|
../common/optional/xserver.nix
|
||||||
../common/optional/lightdm.nix
|
../common/optional/lightdm.nix
|
||||||
../common/optional/xmonad
|
../common/optional/steam.nix
|
||||||
../common/optional/slambda.nix
|
../common/optional/slambda.nix
|
||||||
|
../common/optional/xmonad
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
@ -20,14 +21,31 @@
|
||||||
# A few ad-hoc settings
|
# A few ad-hoc settings
|
||||||
hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
programs.extra-container.enable = true;
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
||||||
# Temp stuff:
|
# Temp stuff:
|
||||||
containers.euporie = import ../euoprie;
|
services.postgresql = {
|
||||||
programs.gnupg.agent = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
package = pkgs.postgresql_15;
|
||||||
|
enableTCPIP = true;
|
||||||
|
authentication = pkgs.lib.mkOverride 10 ''
|
||||||
|
local all all trust
|
||||||
|
host all all 127.0.0.1/32 trust
|
||||||
|
host all all ::1/128 trust
|
||||||
|
'';
|
||||||
|
initialScript = pkgs.writeText "backend-initScript" ''
|
||||||
|
CREATE ROLE adrielus WITH
|
||||||
|
LOGIN
|
||||||
|
SUPERUSER
|
||||||
|
INHERIT
|
||||||
|
CREATEDB
|
||||||
|
CREATEROLE
|
||||||
|
REPLICATION;
|
||||||
|
CREATE DATABASE lunarbox;
|
||||||
|
GRANT ALL PRIVILEGES ON DATABASE lunarbox TO adrielus;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ let
|
||||||
pandas
|
pandas
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "sherlock";
|
pname = "sherlock";
|
||||||
version = "unstable-2023-02-27";
|
version = "unstable-2023-02-27";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue