Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
|
@ -1,7 +1,42 @@
|
|||
{
|
||||
{...}: {
|
||||
imports = [
|
||||
|
||||
./disks.nix
|
||||
../../modules/desktop/hyprland.nix
|
||||
];
|
||||
|
||||
# New machine!
|
||||
hm-pedro.de = "hyprland";
|
||||
programs.hyprland.autoLogin.username = "pedro";
|
||||
|
||||
boot.loader = {
|
||||
grub = {
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
useOSProber = true;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
};
|
||||
|
||||
# It is an open-source implementation of Nvidia’s Moonlight game streaming application
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
"DP-2, 1920x1080@60, 0x0, 1"
|
||||
"DP-1, 2560x1440@165, 1920x0, 1.333333"
|
||||
"HDMI-A-1, 1920x1080@75, 3840x0, 1"
|
||||
];
|
||||
exec-once = [
|
||||
"uwsm app -- ckb-next -b"
|
||||
];
|
||||
};
|
||||
|
||||
hardware.ckb-next.enable = true;
|
||||
}
|
||||
|
|
29
machines/frues-pc/disks.nix
Normal file
29
machines/frues-pc/disks.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/120da0bc-6419-42f0-b47f-11aa2e1a7058";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."sda6_crypt".device = "/dev/disk/by-uuid/5fd8e7a0-88be-4779-a52b-01b8888219a6";
|
||||
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/7cf15f3c-bf94-470e-96a4-ef537ea934cd";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."sdb2_crypt".device = "/dev/disk/by-uuid/0deeb53b-3885-4a4f-be6d-28a48b6af052";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9b01cae4-e5cd-4059-bf31-af746216fbef";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" = {
|
||||
device = "/dev/disk/by-uuid/A606-4C72";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/98cf8cbb-8d39-45af-8143-326d24b65960";}
|
||||
];
|
||||
}
|
6829
machines/frues-pc/facter.json
Normal file
6829
machines/frues-pc/facter.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue