Compare commits
No commits in common. "945ce025052db1608bf3dd48703fd754fd65d593" and "3faafc94f964464db9787a8cf0fab8f448218b1b" have entirely different histories.
945ce02505
...
3faafc94f9
@ -5,7 +5,6 @@
|
|||||||
../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,16 +3,10 @@
|
|||||||
{
|
{
|
||||||
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,5 +1,11 @@
|
|||||||
{ 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
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
{ 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,24 +158,8 @@ end
|
|||||||
|
|
||||||
local packer_bootstrap = ensure_packer()
|
local packer_bootstrap = ensure_packer()
|
||||||
|
|
||||||
local packaer = require('packer').startup(function(use)
|
return 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'
|
||||||
@ -187,19 +171,3 @@ local packaer = 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