Desktop transition to NixOS 25.05
This commit is contained in:
parent
ae4e84ac9a
commit
1e4037d1c2
3 changed files with 20 additions and 31 deletions
|
@ -1,17 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
nixvim = import (
|
||||
builtins.fetchGit {
|
||||
url = "https://github.com/nix-community/nixvim";
|
||||
ref = "nixos-24.11";
|
||||
ref = "nixos-25.05";
|
||||
}
|
||||
);
|
||||
unstable_pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable") {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
overlays = [ ];
|
||||
};
|
||||
in
|
||||
{
|
||||
#################### Git configuration ####################
|
||||
|
@ -38,25 +32,20 @@ in
|
|||
};
|
||||
|
||||
#################### Packages ####################
|
||||
environment.systemPackages =
|
||||
(with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nixd
|
||||
environment.systemPackages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nixd
|
||||
|
||||
vagrant
|
||||
nmap
|
||||
])
|
||||
++ (with unstable_pkgs; [
|
||||
metasploit
|
||||
armitage
|
||||
]);
|
||||
vagrant
|
||||
nmap
|
||||
metasploit
|
||||
armitage
|
||||
];
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
virtualisation.virtualbox.host.addNetworkInterface = false;
|
||||
users.extraGroups.vboxusers.members = [ "vili" ];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
fonts.packages = builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
|
||||
|
||||
#################### Neovim configuration ####################
|
||||
imports = [ nixvim.nixosModules.nixvim ];
|
||||
|
@ -64,7 +53,7 @@ in
|
|||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
vimAlias = false;
|
||||
colorschemes.vscode.enable = true;
|
||||
|
||||
globals.mapleader = " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue