Compare commits
2 Commits
3faafc94f9
...
945ce02505
Author | SHA1 | Date | |
---|---|---|---|
|
945ce02505 | ||
|
c3c8089f2d |
@ -5,6 +5,7 @@
|
|||||||
../common/desktop.nix
|
../common/desktop.nix
|
||||||
../common/nvidia.nix
|
../common/nvidia.nix
|
||||||
../common/gaming.nix
|
../common/gaming.nix
|
||||||
|
../common/steam.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
@ -3,10 +3,16 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common/desktop.nix
|
../common/desktop.nix
|
||||||
|
../common/steam.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
xbrightness
|
xbrightness
|
||||||
|
gnome.cheese
|
||||||
|
musescore
|
||||||
|
magic-wormhole
|
||||||
|
libsForQt5.kdenlive
|
||||||
|
calcurse
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
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
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
steam-run
|
steam-run
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
12
common/steam.nix
Normal file
12
common/steam.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
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
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
steam-run
|
||||||
|
];
|
||||||
|
}
|
@ -158,8 +158,24 @@ end
|
|||||||
|
|
||||||
local packer_bootstrap = ensure_packer()
|
local packer_bootstrap = ensure_packer()
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
local packaer = require('packer').startup(function(use)
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
|
use 'nvim-lua/plenary.nvim'
|
||||||
|
use 'nvim-telescope/telescope.nvim'
|
||||||
|
use {
|
||||||
|
'VonHeikemen/lsp-zero.nvim',
|
||||||
|
reqiures = {
|
||||||
|
-- LSP Support
|
||||||
|
'neovim/nvim-lspconfig',
|
||||||
|
'williamboman/mason.nvim',
|
||||||
|
'williamboman/mason-lspconfig.nvim',
|
||||||
|
|
||||||
|
-- Autocompletion
|
||||||
|
'hrsh7th/nvim-cmp',
|
||||||
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
|
'L3MON4D3/LuaSnip',
|
||||||
|
}
|
||||||
|
}
|
||||||
use 'tpope/vim-surround'
|
use 'tpope/vim-surround'
|
||||||
use 'tpope/vim-commentary'
|
use 'tpope/vim-commentary'
|
||||||
use 'tpope/vim-fugitive'
|
use 'tpope/vim-fugitive'
|
||||||
@ -171,3 +187,19 @@ return require('packer').startup(function(use)
|
|||||||
end
|
end
|
||||||
end);
|
end);
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
-- lsp configuration {{{
|
||||||
|
local lsp = require('lsp-zero').preset({})
|
||||||
|
|
||||||
|
lsp.on_attach(function(client, bufnr)
|
||||||
|
lsp.default_keymaps({buffer = bufnr})
|
||||||
|
end)
|
||||||
|
|
||||||
|
lsp.setup()
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
nnoremap('<leader>ff', function()
|
||||||
|
require('telescope.builtin').find_files()
|
||||||
|
end)
|
||||||
|
|
||||||
|
return packer
|
||||||
|
Loading…
Reference in New Issue
Block a user