mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
set laptop up again
This commit is contained in:
parent
b2af978996
commit
6e99b9e9c9
7 changed files with 28 additions and 20 deletions
12
flake.nix
12
flake.nix
|
|
@ -62,6 +62,18 @@
|
|||
./nix.nix
|
||||
];
|
||||
};
|
||||
gerg-laptop = lib.nixosSystem {
|
||||
inherit system pkgs;
|
||||
specialArgs = {inherit inputs settings;};
|
||||
modules = [
|
||||
inputs.sxhkd-flake.nixosModules.sxhkd
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
./home-manager
|
||||
./configuration.nix
|
||||
./systems/laptop.nix
|
||||
./nix.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
overpass
|
||||
material-design-icons
|
||||
(nerdfonts.override
|
||||
{
|
||||
fonts = ["Overpass"];
|
||||
})
|
||||
{
|
||||
fonts = ["Overpass"];
|
||||
})
|
||||
];
|
||||
fontDir.enable = true;
|
||||
fontconfig = {
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
alsa-utils #volume control
|
||||
btrfs-progs #for external harddrive
|
||||
vlc #play stuff
|
||||
bitwarden #store stuff
|
||||
qbittorrent #steal stuff
|
||||
webcord # talk to people (gross)
|
||||
feh #for wallpaper
|
||||
xfce.mousepad
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
hardware.nvidia.prime = {
|
||||
sync.enable = true;
|
||||
amdgpuBusId = "PCI:5:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
nvidia = {
|
||||
nvidiaPersistenced = false;
|
||||
nvidiaSettings = false;
|
||||
modesetting.enable = true;
|
||||
hardware.nvidia = {
|
||||
prime = {
|
||||
sync.enable = true;
|
||||
amdgpuBusId = "PCI:5:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
nvidiaPersistenced = false;
|
||||
nvidiaSettings = false;
|
||||
modesetting.enable = true;
|
||||
};
|
||||
services.xserver = {
|
||||
videoDrivers = ["modesetting" "nvidia"];
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
windowManager.dwm.enable = true;
|
||||
displayManager = {
|
||||
sessionCommands = ''
|
||||
feh --bg-scale ${../images/recursion.png}
|
||||
feh --bg-scale ${../images/recursion.png}
|
||||
'';
|
||||
defaultSession = "none+dwm";
|
||||
lightdm = {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
m:
|
||||
../modules + ("/" + m + ".nix")
|
||||
);
|
||||
environment.systemPackages = with pkgs; [
|
||||
bitwarden #store stuff
|
||||
qbittorrent #steal stuff
|
||||
];
|
||||
networking.hostName = "gerg-desktop";
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
|
|
|||
|
|
@ -25,12 +25,6 @@
|
|||
networking.hostName = "gerg-laptop";
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
#environment.systemPackages = with pkgs; [
|
||||
# xorg.xf86videoamdgpu
|
||||
#];
|
||||
#don't think i need this^
|
||||
# user managment
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users."${settings.username}" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue