mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
tweaked file layout
This commit is contained in:
parent
d061dadb7e
commit
e1a608f3f8
9 changed files with 19 additions and 7 deletions
1
configuration.nix
Normal file
1
configuration.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
# intentionally empty
|
||||
|
|
@ -36,14 +36,14 @@
|
|||
inherit system pkgs;
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
./systems/gerg-laptop.nix
|
||||
./systems/laptop.nix
|
||||
];
|
||||
};
|
||||
gerg-desktop = lib.nixosSystem {
|
||||
inherit system pkgs;
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
./systems/gerg-desktop.nix
|
||||
./systems/desktop.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
owner = "ISnortPennies";
|
||||
repo = "user.js";
|
||||
rev = "master";
|
||||
sha256 = "BMEUZDelkcHDF8Yt9aa+3pGkGkodL7VEQ1hQBU6Fuug=";
|
||||
sha256 = "9hmYqb5R8KOILNYylTspMr6CEmlLMg24JCGDFH0KA9k=";
|
||||
} + "/user.js") );
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
nix.settings.auto-optimise-store = true;
|
||||
networking = {
|
||||
firewall.enable = true;
|
||||
useDHCP = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ environment.systemPackages = with pkgs; [
|
|||
networkmanagerapplet
|
||||
dmenu
|
||||
qsudo
|
||||
mate.mate-polkit
|
||||
flashfocus
|
||||
pavucontrol
|
||||
gpick
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
{
|
||||
output = "HDMI-0";
|
||||
primary = true;
|
||||
monitorConfig = ''
|
||||
DisplaySize 1920 1080
|
||||
Option "DPMS" "false"
|
||||
'';
|
||||
}
|
||||
];
|
||||
screenSection = ''
|
||||
|
|
|
|||
|
|
@ -8,8 +8,10 @@ let
|
|||
|
||||
clean-store = pkgs.writeScriptBin "clean-store" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
nix-collect-garbage -d
|
||||
nix-store --gc
|
||||
sudo nix-collect-garbage -d
|
||||
sudo nix-store --optimise
|
||||
sudo -u gerg nix-collect-garbage -d
|
||||
|
||||
'';
|
||||
|
||||
apply-users = pkgs.writeScriptBin "apply-users" ''
|
||||
|
|
@ -25,4 +27,4 @@ let
|
|||
'';
|
||||
in {
|
||||
environment.systemPackages = [ update-system clean-store apply-users apply-system ];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,10 @@
|
|||
system.stateVersion = "22.11";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
# end important stuff
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
android-tools
|
||||
openjdk
|
||||
];
|
||||
# user managment
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
Loading…
Add table
Add a link
Reference in a new issue