summaryrefslogblamecommitdiffstats
path: root/hosts/jontop/default.nix
blob: cebdb90464244c57b5f904193f96a0e4174d5375 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
 










                                                                          
    







































                                                                              
              
          
      
 
{
    inputs,
    lib,
    pkgs,
    ...
}: {
    #Filesystems
    fileSystems."/" =
      { device = "/dev/disk/by-uuid/72e455f9-4b10-4cb2-a8e4-cfe39c4a8d1f";
        fsType = "btrfs";
        options = [ "compress=zstd" "subvol=@" ];
      };
    
    fileSystems."/boot" =
      { device = "/dev/disk/by-uuid/27F7-4AFD";
        fsType = "vfat";
      };
    
    swapDevices =
    [
        { device = "/dev/disk/by-uuid/4133a381-ab7d-4a25-9013-3f4b2d31bc5a"; }
    ];

    #Fonts
    fonts.packages = with pkgs; [
        fira-code
        fira-code-symbols
        font-awesome
        liberation_ttf
        noto-fonts
        noto-fonts-cjk
        noto-fonts-emoji
        (nerdfonts.override { fonts = [ "FiraCode" ]; } )
    ];

    modules = {
        device = {
            cpu = "intel";
            gpu = "intel";
            drive = "ssd";
            hasBluetooth = true;
        };
        desktop = {
            hyprland.enable = true;
            apps = {
                browsers.firefox.enable = true;
                games = {
                    enable = false;
                    steam.enable = false;
                };
                mpd.enable = false;
                flatpak.enable = true;
                newsboat.enable = true;
            };
        };
    };
}