xps changes

This commit is contained in:
randomuser 2023-08-13 08:49:35 -05:00
parent 3faafc94f9
commit c3c8089f2d
4 changed files with 51 additions and 7 deletions

View File

@ -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;

View File

@ -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
View 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
];
}

View File

@ -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