Compare commits
2 Commits
3faafc94f9
...
945ce02505
Author | SHA1 | Date | |
---|---|---|---|
|
945ce02505 | ||
|
c3c8089f2d |
@ -5,6 +5,7 @@
|
||||
../common/desktop.nix
|
||||
../common/nvidia.nix
|
||||
../common/gaming.nix
|
||||
../common/steam.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
@ -3,10 +3,16 @@
|
||||
{
|
||||
imports = [
|
||||
../common/desktop.nix
|
||||
../common/steam.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xbrightness
|
||||
gnome.cheese
|
||||
musescore
|
||||
magic-wormhole
|
||||
libsForQt5.kdenlive
|
||||
calcurse
|
||||
];
|
||||
|
||||
services.tlp.enable = true;
|
||||
|
@ -1,11 +1,5 @@
|
||||
{ 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
|
||||
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()
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
local packaer = require('packer').startup(function(use)
|
||||
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-commentary'
|
||||
use 'tpope/vim-fugitive'
|
||||
@ -171,3 +187,19 @@ return require('packer').startup(function(use)
|
||||
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