tweaked file layout

This commit is contained in:
ISnortPennies 2022-08-05 19:03:07 -04:00 committed by ISnortPennies
parent d061dadb7e
commit e1a608f3f8
9 changed files with 19 additions and 7 deletions

1
configuration.nix Normal file
View file

@ -0,0 +1 @@
# intentionally empty

View file

@ -36,14 +36,14 @@
inherit system pkgs; inherit system pkgs;
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
./systems/gerg-laptop.nix ./systems/laptop.nix
]; ];
}; };
gerg-desktop = lib.nixosSystem { gerg-desktop = lib.nixosSystem {
inherit system pkgs; inherit system pkgs;
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
./systems/gerg-desktop.nix ./systems/desktop.nix
]; ];
}; };
}; };

View file

@ -10,7 +10,7 @@
owner = "ISnortPennies"; owner = "ISnortPennies";
repo = "user.js"; repo = "user.js";
rev = "master"; rev = "master";
sha256 = "BMEUZDelkcHDF8Yt9aa+3pGkGkodL7VEQ1hQBU6Fuug="; sha256 = "9hmYqb5R8KOILNYylTspMr6CEmlLMg24JCGDFH0KA9k=";
} + "/user.js") ); } + "/user.js") );
}; };
}; };

View file

@ -1,5 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
nix.settings.auto-optimise-store = true;
networking = { networking = {
firewall.enable = true; firewall.enable = true;
useDHCP = lib.mkDefault true; useDHCP = lib.mkDefault true;

View file

@ -43,6 +43,7 @@ environment.systemPackages = with pkgs; [
networkmanagerapplet networkmanagerapplet
dmenu dmenu
qsudo qsudo
mate.mate-polkit
flashfocus flashfocus
pavucontrol pavucontrol
gpick gpick

View file

@ -4,6 +4,10 @@
{ {
output = "HDMI-0"; output = "HDMI-0";
primary = true; primary = true;
monitorConfig = ''
DisplaySize 1920 1080
Option "DPMS" "false"
'';
} }
]; ];
screenSection = '' screenSection = ''

View file

@ -8,8 +8,10 @@ let
clean-store = pkgs.writeScriptBin "clean-store" '' clean-store = pkgs.writeScriptBin "clean-store" ''
#!${pkgs.stdenv.shell} #!${pkgs.stdenv.shell}
nix-collect-garbage -d sudo nix-collect-garbage -d
nix-store --gc sudo nix-store --optimise
sudo -u gerg nix-collect-garbage -d
''; '';
apply-users = pkgs.writeScriptBin "apply-users" '' apply-users = pkgs.writeScriptBin "apply-users" ''
@ -25,4 +27,4 @@ let
''; '';
in { in {
environment.systemPackages = [ update-system clean-store apply-users apply-system ]; environment.systemPackages = [ update-system clean-store apply-users apply-system ];
} }

View file

@ -24,7 +24,10 @@
system.stateVersion = "22.11"; system.stateVersion = "22.11";
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
# end important stuff # end important stuff
environment.systemPackages = with pkgs; [
android-tools
openjdk
];
# user managment # user managment
users = { users = {
defaultUserShell = pkgs.zsh; defaultUserShell = pkgs.zsh;