This commit is contained in:
gpskwlkr 2024-03-26 23:45:56 +04:00
parent 506b21e430
commit 709db1985b
91 changed files with 251 additions and 212 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
# Switched to lanzaboote Secure Boot
@ -22,6 +22,13 @@
# };
# };
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
environment.systemPackages = with pkgs; [
sbctl
];

View file

@ -0,0 +1,27 @@
{ ... }:
{
imports = [
./boot.nix
./fonts.nix
./gaming.nix
./hardware.nix
./hyprland.nix
./internationalisation.nix
./misc.nix
./networking.nix
./nixsettings.nix
./packages.nix
./polkit.nix
./programming.nix
./programs.nix
./security.nix
./services.nix
./sound.nix
./theme.nix
./time.nix
./users.nix
./virtualisation.nix
./work.nix
];
}

View file

@ -12,13 +12,6 @@
};
environment.systemPackages = with pkgs; [
steam
steam-run
(lutris.override {
extraPkgs = pkgs: [
wineWowPackages.stable
winetricks
];
})
];
}

View file

@ -18,14 +18,4 @@
options = "--delete-older-than 7d";
};
};
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-25.9.0" # obsidian
];
};
};
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
];
}

View file

@ -2,6 +2,16 @@
{
xdg.portal = {
enable = true;
wlr.enable = false;
xdgOpenUsePortal = false;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
};
programs = {
steam = {
enable = true;
@ -11,6 +21,12 @@
hyprland = {
enable = true;
xwayland = {
enable = true;
};
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
gnupg = {

7
system/modules/work.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
];
}

View file

@ -1,19 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
dotnet-runtime_8
dotnet-sdk_8
dotnetPackages.Nuget
gcc
go
lua
nodejs_21
nodePackages.pnpm
(python3.withPackages (python-pkgs: [
python-pkgs.pip
python-pkgs.requests
]))
zig
];
}

View file

@ -1,11 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
jetbrains.rider
obsidian
teams-for-linux
thunderbird
zoom-us
];
}