~moody/sakuya

8f200b64948d1879f728c6544a62c61066a5f506 — Jacob Moody 2 months ago d6ab2ba
nitori use plasma6
3 files changed, 159 insertions(+), 9 deletions(-)

M flake.lock
M flake.nix
M nitori.nix
M flake.lock => flake.lock +138 -0
@@ 1,5 1,39 @@
{
  "nodes": {
    "flake-compat": {
      "flake": false,
      "locked": {
        "lastModified": 1696426674,
        "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
        "owner": "edolstra",
        "repo": "flake-compat",
        "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
        "type": "github"
      },
      "original": {
        "owner": "edolstra",
        "repo": "flake-compat",
        "type": "github"
      }
    },
    "flake-utils": {
      "inputs": {
        "systems": "systems_2"
      },
      "locked": {
        "lastModified": 1705309234,
        "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
        "owner": "numtide",
        "repo": "flake-utils",
        "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
        "type": "github"
      },
      "original": {
        "owner": "numtide",
        "repo": "flake-utils",
        "type": "github"
      }
    },
    "gameover": {
      "inputs": {
        "nixpkgs": [


@@ 21,6 55,28 @@
        "type": "github"
      }
    },
    "gitignore": {
      "inputs": {
        "nixpkgs": [
          "kde2nix",
          "pre-commit-hooks",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1703887061,
        "narHash": "sha256-gGPa9qWNc6eCXT/+Z5/zMkyYOuRZqeFZBDbopNZQkuY=",
        "owner": "hercules-ci",
        "repo": "gitignore.nix",
        "rev": "43e1aa1308018f37118e34d3a9cb4f5e75dc11d5",
        "type": "github"
      },
      "original": {
        "owner": "hercules-ci",
        "repo": "gitignore.nix",
        "type": "github"
      }
    },
    "home-manager": {
      "inputs": {
        "nixpkgs": [


@@ 62,6 118,28 @@
        "type": "github"
      }
    },
    "kde2nix": {
      "inputs": {
        "flake-utils": "flake-utils",
        "nixpkgs": [
          "nixpkgs"
        ],
        "pre-commit-hooks": "pre-commit-hooks"
      },
      "locked": {
        "lastModified": 1706078134,
        "narHash": "sha256-l6ZkbXi4Tv2S2HOJhLjL7iCrSy5cAMLbEp0hR5IiIBg=",
        "owner": "nix-community",
        "repo": "kde2nix",
        "rev": "22331df82eec03417bc083371793c618e2a6eb52",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "kde2nix",
        "type": "github"
      }
    },
    "nix-github-actions": {
      "inputs": {
        "nixpkgs": [


@@ 98,11 176,56 @@
        "type": "indirect"
      }
    },
    "nixpkgs-stable": {
      "locked": {
        "lastModified": 1704874635,
        "narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "3dc440faeee9e889fe2d1b4d25ad0f430d449356",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-23.11",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "pre-commit-hooks": {
      "inputs": {
        "flake-compat": "flake-compat",
        "flake-utils": [
          "kde2nix",
          "flake-utils"
        ],
        "gitignore": "gitignore",
        "nixpkgs": [
          "kde2nix",
          "nixpkgs"
        ],
        "nixpkgs-stable": "nixpkgs-stable"
      },
      "locked": {
        "lastModified": 1705757126,
        "narHash": "sha256-Eksr+n4Q8EYZKAN0Scef5JK4H6FcHc+TKNHb95CWm+c=",
        "owner": "cachix",
        "repo": "pre-commit-hooks.nix",
        "rev": "f56597d53fd174f796b5a7d3ee0b494f9e2285cc",
        "type": "github"
      },
      "original": {
        "owner": "cachix",
        "repo": "pre-commit-hooks.nix",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "gameover": "gameover",
        "home-manager": "home-manager",
        "jovian": "jovian",
        "kde2nix": "kde2nix",
        "nixpkgs": "nixpkgs",
        "vacme-vim": "vacme-vim"
      }


@@ 122,6 245,21 @@
        "type": "github"
      }
    },
    "systems_2": {
      "locked": {
        "lastModified": 1681028828,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    },
    "utils": {
      "inputs": {
        "systems": "systems"

M flake.nix => flake.nix +5 -1
@@ 13,13 13,16 @@
    gameover.url = "github:majiru/gameover";
    gameover.inputs.nixpkgs.follows = "nixpkgs";

    kde2nix.url = "github:nix-community/kde2nix";
    kde2nix.inputs.nixpkgs.follows = "nixpkgs";

    vacme-vim = {
      url = "github:olivertaylor/vacme";
      flake = false;
    };
  };

  outputs = { self, nixpkgs, jovian, ... }@inputs: {
  outputs = { self, nixpkgs, jovian, kde2nix, ... }@inputs: {
    nixosConfigurations = {
      "sakuya" = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";


@@ 51,6 54,7 @@
          ./prefs.nix
          ./nix.nix
          jovian.outputs.nixosModules.jovian
          kde2nix.outputs.nixosModules.default
          ./nitori.nix
          ./home.nix
        ];

M nitori.nix => nitori.nix +16 -8
@@ 53,12 53,6 @@
    ffmpeg
    man-pages
    man-pages-posix
    games.pokecrystal
    games.pokered
    games.pokeemerald
    games.pokefirered
    games.pokeyellow
    games.pokegold
    games.zelda3
    games.shipwright
    pc


@@ 68,13 62,27 @@
    dolphin-emu
    citra-nightly
    mgba

    # force roms to be loaded and print them for ease
    (writeScriptBin "printroms"
      ''
        #!${pkgs.rc}/bin/rc
        ls -d ${pkgs.games.pokecrystal}/rom/*
        ls -d ${pkgs.games.pokered}/rom/*
        ls -d ${pkgs.games.pokeemerald}/rom/*
        ls -d ${games.pokefirered}/rom/*
        ls -d ${games.pokeyellow}/rom/*
        ls -d ${games.pokegold}/rom/*
      ''
    )

  ];

  jovian.devices.steamdeck.enable = true;
  jovian.steam.autoStart = true;
  services.xserver.desktopManager.plasma5.enable = true;
  services.xserver.desktopManager.plasma6.enable = true;
  networking.networkmanager.enable = true;
  jovian.steam.desktopSession = "plasmawayland";
  jovian.steam.desktopSession = "plasma";
  jovian.steam.user = "moody";
  jovian.steam.enable = true;
  programs.steam.enable = true;