mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
neovim reconfiguration
and configuring st
This commit is contained in:
parent
b4ea6ab031
commit
532ae0d63e
14 changed files with 783 additions and 118 deletions
66
flake.nix
66
flake.nix
|
|
@ -3,7 +3,7 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
url = "github:ISnortPennies/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
spicetify-nix.url = "github:the-argus/spicetify-nix";
|
||||
|
|
@ -11,35 +11,45 @@
|
|||
};
|
||||
|
||||
outputs = {self, nixpkgs, home-manager, spicetify-nix, webcord, ... }@inputs:
|
||||
let
|
||||
let
|
||||
username = "gerg";
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = super: let self = super.pkgs; in {
|
||||
#more overrides can go here
|
||||
polkit_fix = self.polkit_gnome.overrideAttrs ( oldAttrs: rec
|
||||
{
|
||||
postInstall = ''
|
||||
mkdir $out/bin
|
||||
ln -s $out/libexec/polkit-gnome-authentication-agent-1 $out/bin/polkit-gnome
|
||||
'';
|
||||
});
|
||||
nerdfonts-overpass = self.nerdfonts.override {
|
||||
fonts = [ "Overpass" ];
|
||||
};
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = super: let self = super.pkgs; in {
|
||||
nerdfonts-overpass = self.nerdfonts.override {
|
||||
fonts = [ "Overpass" ];
|
||||
};
|
||||
};
|
||||
overlays = [
|
||||
(final: prev: rec {
|
||||
t-rex-miner = final.callPackage ./pkgs/t-rex-miner {};
|
||||
afk-cmds = final.callPackage ./pkgs/afk-cmds {};
|
||||
}
|
||||
)];
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
overlays = [
|
||||
(final: prev: rec {
|
||||
t-rex-miner = final.callPackage ./pkgs/t-rex-miner {};
|
||||
afk-cmds = final.callPackage ./pkgs/afk-cmds {};
|
||||
}
|
||||
)
|
||||
(import ./suckless)
|
||||
(self: super:
|
||||
let
|
||||
vim-moonfly = super.vimUtils.buildVimPlugin {
|
||||
name = "vim-moonfly";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "bluz71";
|
||||
repo = "vim-moonfly-colors";
|
||||
rev = "065c99b95355b33dfaa05bde11ad758e519b04a3";
|
||||
sha256 = "sha256-TEYN8G/VNxitpPJPM7+O9AGLm6V7bPkiTlFG5op55pI=";
|
||||
};
|
||||
};
|
||||
in {
|
||||
vimPlugins =
|
||||
super.vimPlugins // { inherit vim-moonfly; };
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in {
|
||||
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
|
@ -60,7 +70,7 @@
|
|||
specialArgs = inputs;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./systems/laptop.nix
|
||||
./systems/laptop.nix
|
||||
];
|
||||
};
|
||||
gerg-desktop = lib.nixosSystem {
|
||||
|
|
@ -68,7 +78,7 @@
|
|||
specialArgs = inputs;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./systems/desktop.nix
|
||||
./systems/desktop.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue