Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch back to stable branch #3

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# Use the newest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;

# Set a limit on the number of generations to include in boot
boot.loader.systemd-boot.configurationLimit = 20;


# Enable networking
networking.networkmanager.enable = true;
Expand Down
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ esac
done

echo "Setting up channels"
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
sudo nix-channel --add https://nixos.org/channels/nixos-23.11 nixos
sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
sudo nix-channel --update

echo "Rebuilding the OS"
Expand Down
9 changes: 7 additions & 2 deletions modules/jetbrains.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
let
unstable = import
(builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/3a5eb38af0215cd697a78c25ececdab111f21388")
{ config = config.nixpkgs.config; };
in
{
environment.systemPackages = with pkgs.jetbrains; [
pycharm-professional
rust-rover
unstable.jetbrains.rust-rover
];

services.opensnitch.rules = {
Expand Down