Skip to content

Commit

Permalink
Cleanup system config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Mar 23, 2024
1 parent 252847b commit 32504dd
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions system/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{ config, username, hostname, pkgs, ... }:
{
imports =
[
./polkit.nix
];
imports = [ ./polkit.nix ];

boot = {
consoleLogLevel = 0;
Expand All @@ -28,23 +25,17 @@
automatic = true;
options = "--delete-older-than 90d";
};
optimise.automatic = true;
settings = {
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "@wheel" ];
keep-outputs = true;
keep-derivations = true;
auto-optimise-store = true;
};
optimise.automatic = true;
};

environment.pathsToLink = [ "/share/nix-direnv" ];
nixpkgs = {
config = {
allowUnfree = true;
pulseaudio = true;
};
};
nixpkgs.config.allowUnfree = true;

networking = {
hostName = hostname;
Expand Down Expand Up @@ -124,9 +115,7 @@

nix-ld = {
enable = true;
libraries = with pkgs; [
glibc
];
libraries = [ pkgs.glibc ];
};
};

Expand Down Expand Up @@ -226,6 +215,7 @@
documentation.dev.enable = true;
environment = {
etc.issue.text = (builtins.readFile ./issuerc);
pathsToLink = [ "/share/nix-direnv" ];
sessionVariables = {
MOZ_USE_XINPUT2 = "1";
XDG_CACHE_HOME = "$HOME/.cache";
Expand All @@ -239,8 +229,6 @@
alsa-utils
modemmanager
networkmanagerapplet
libsForQt5.ark
libsForQt5.plasma-nm
playerctl

git
Expand Down

0 comments on commit 32504dd

Please sign in to comment.